Skip to content

Commit

Permalink
fix up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot committed Apr 13, 2018
1 parent 2427686 commit 5539fe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"url": "https://github.com/shawnbot/topogram/issues"
},
"scripts": {
"pretest": "rm -rf build && mkdir build",
"build": "rollup",
"test": "npm run build && tape 'test/*.js'",
"prebuild": "rm -rf build && mkdir build",
"build": "rollup -c",
"pretest": "npm run build",
"test": "tape 'test/*.js'",
"prepublishOnly": "npm test && npm run minify",
"minify": "uglifyjs build/topogram.js -c -m -o build/topogram.min.js"
},
Expand Down
8 changes: 4 additions & 4 deletions test/cartogram.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var tape = require("tape"),
foo = require("../");
const tape = require('tape')
const topogram = require('../')

tape("Testing, testing", function(test) {
tape('Testing, testing', function(test) {
test.equal(true, true);
test.end();
}
})

0 comments on commit 5539fe5

Please sign in to comment.