Skip to content

Commit

Permalink
test: remove z-index spec
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 15, 2021
1 parent 8266489 commit 0822710
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions spec/minimap-element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,6 @@ describe('MinimapElement', () => {

expect(calls).toEqual(['bar', 'foo'])

atom.config.set('minimap.plugins.fooDecorationsZIndex', -1)

calls.length = 0
})

Expand All @@ -362,7 +360,7 @@ describe('MinimapElement', () => {
runs(() => {
nextAnimationFrame()

expect(calls).toEqual(['foo', 'bar'])
expect(calls).toEqual(['bar', 'foo'])

Main.unregisterPlugin('foo')
Main.unregisterPlugin('bar')
Expand Down
2 changes: 0 additions & 2 deletions spec/minimap-main-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,10 @@ describe('Minimap package', () => {

it('creates a default config for the plugin', () => {
expect(minimapPackage.getConfigSchema().plugins.properties.dummy).toBeDefined()
expect(minimapPackage.getConfigSchema().plugins.properties.dummyDecorationsZIndex).toBeDefined()
})

it('sets the corresponding config', () => {
expect(atom.config.get('minimap.plugins.dummy')).toBeTruthy()
expect(atom.config.get('minimap.plugins.dummyDecorationsZIndex')).toEqual(0)
})

describe('triggering the corresponding plugin command', () => {
Expand Down

0 comments on commit 0822710

Please sign in to comment.