Skip to content

Commit

Permalink
test(node): ensure module exports exists
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Sep 9, 2020
1 parent 19bb1df commit c7463ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
* This allows loading in SSR, but Panzoom
* should still only be initialized on the front-end.
*/
require('../dist/panzoom')
const assert = require('assert')
const Panzoom = require('../dist/panzoom')

assert(Panzoom)

0 comments on commit c7463ef

Please sign in to comment.