Skip to content

Commit

Permalink
Add test for WOF module
Browse files Browse the repository at this point in the history
This helps ensure that in the future we don't break anything that
depends on this module by exporting something that doesn't exist.
  • Loading branch information
orangejulius committed Apr 23, 2020
1 parent b53f5fe commit 6ba6c1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const tape = require('tape');

const wof_module = require('../');

tape('test the exports of whosonfirst module', function(test) {
test.equals(typeof wof_module, 'object');
test.end();
});
1 change: 1 addition & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ require ('./importStreamTest.js');
require ('./peliasDocGeneratorsTest.js');
require ('./readStreamTest.js');
require ('./schema.js');
require ('./module.js');
require ('./bundleList.js');
require('./functional.js');

0 comments on commit 6ba6c1e

Please sign in to comment.