Skip to content

Commit 0822710

Browse files
committed
test: remove z-index spec
1 parent 8266489 commit 0822710

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

spec/minimap-element-spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ describe('MinimapElement', () => {
350350

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

353-
atom.config.set('minimap.plugins.fooDecorationsZIndex', -1)
354-
355353
calls.length = 0
356354
})
357355

@@ -362,7 +360,7 @@ describe('MinimapElement', () => {
362360
runs(() => {
363361
nextAnimationFrame()
364362

365-
expect(calls).toEqual(['foo', 'bar'])
363+
expect(calls).toEqual(['bar', 'foo'])
366364

367365
Main.unregisterPlugin('foo')
368366
Main.unregisterPlugin('bar')

spec/minimap-main-spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,10 @@ describe('Minimap package', () => {
178178

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

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

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

0 commit comments

Comments
 (0)