Skip to content

Commit

Permalink
Add AnnotationsApi unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalduez committed Feb 18, 2017
1 parent e124d18 commit a777956
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/annotations/api.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
'use strict'

var assert = require('assert')

describe('#AnnotationsApi', function () {
var AnnotationsApi = require('../../dist/annotation').default
var api = new AnnotationsApi()

it('should include the right number of annotations', function () {
assert.equal(
Object.keys(api.list).length,
21
)
})
})

0 comments on commit a777956

Please sign in to comment.