Skip to content

Commit

Permalink
[Tests] Separate shimmed from native tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 10, 2015
1 parent 504a8cb commit 078e64a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"main": "index.js",
"scripts": {
"test": "npm run lint && npm run tests-only && npm run security",
"tests-only": "npm run test:native",
"tests-only": "npm run test:native && npm run test:shimmed",
"test:native": "node test/native.js",
"test:shimmed": "node test/shimmed.js",
"coverage": "covert test/native.js",
"coverage-quiet": "covert test/native.js --quiet",
"lint": "npm run jscs && npm run eslint",
Expand Down
2 changes: 0 additions & 2 deletions test/native.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict';

require('es6-shim');

var test = require('tape');
var isEqual = require('../');
var isSymbol = require('is-symbol');
Expand Down
5 changes: 5 additions & 0 deletions test/shimmed.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

require('es6-shim');

require('./native');

0 comments on commit 078e64a

Please sign in to comment.