Skip to content

Commit 919c455

Browse files
authored
Merge pull request #10 from mcollina/split-test
Splitted test into multiple files
2 parents 9d8702e + 8958794 commit 919c455

File tree

9 files changed

+502
-481
lines changed

9 files changed

+502
-481
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
function build (schema) {
4-
/*eslint no-new-func: "off"*/
4+
/* eslint no-new-func: "off" */
55
var code = `
66
'use strict'
77
`

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Stringify your JSON at max speed",
55
"main": "index.js",
66
"scripts": {
7-
"test": "standard && tap test.js"
7+
"test": "standard && tap test/*.test.js"
88
},
99
"precommit": "test",
1010
"repository": {
@@ -25,10 +25,9 @@
2525
"homepage": "https://github.com/mcollina/fast-json-stringify#readme",
2626
"devDependencies": {
2727
"benchmark": "^2.1.1",
28-
"fast-safe-stringify": "^1.0.9",
29-
"is-my-json-valid": "^2.13.1",
28+
"is-my-json-valid": "^2.14.0",
3029
"pre-commit": "^1.1.3",
31-
"standard": "^7.1.2",
32-
"tap": "^6.2.0"
30+
"standard": "^8.2.0",
31+
"tap": "^7.1.2"
3332
}
3433
}

0 commit comments

Comments
 (0)