Skip to content

Commit d1193bd

Browse files
committed
test: add is active test
1 parent cc7bbb5 commit d1193bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/minimap-bookmarks-spec.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// const MinimapBookmarks = require('../lib/minimap-bookmarks')
1+
const MinimapBookmarks = require('../lib/minimap-bookmarks')
22

33
describe('MinimapBookmarks', () => {
44
let editor, editorElement, bookmarks
@@ -31,6 +31,10 @@ describe('MinimapBookmarks', () => {
3131
atom.packages.packageStates.bookmarks = bookmarks.serialize()
3232
})
3333

34+
it('should activate', () => {
35+
expect(MinimapBookmarks.isActive()).toBe(true)
36+
})
37+
3438
describe('with an open editor that have a minimap', () => describe('when toggle switch bookmarks markers to the editor', () => {
3539
beforeEach(() => {
3640
editor.setCursorScreenPosition([2, 0])

0 commit comments

Comments
 (0)