Skip to content

Commit 126dcf7

Browse files
author
Robert-Jan Huijsman
committed
Add testing/README.md, rename test/ to spec/, canonicalize indentation to 2 spaces.
1 parent e669673 commit 126dcf7

24 files changed

+29
-17
lines changed

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ coverage
33
.vscode
44

55
# The SDK's internal unit tests might confuse users looking for the testing/ module.
6-
test
6+
spec

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"build": "node_modules/.bin/tsc",
88
"build:pack": "npm prune --production && npm install typescript && node_modules/.bin/tsc && npm pack && npm install",
9-
"lint": "node_modules/.bin/tslint src/{**/*,*}.ts test/{**/*,*}.ts",
10-
"pretest": "node_modules/.bin/tsc test/index.spec.ts --target es5 --outDir .tmp && cp -r test/fixtures .tmp/test",
11-
"test": "npm run lint && mocha .tmp/test/index.spec.js",
9+
"lint": "node_modules/.bin/tslint src/{**/*,*}.ts spec/{**/*,*}.ts",
10+
"pretest": "node_modules/.bin/tsc spec/index.spec.ts --target es5 --outDir .tmp && cp -r spec/fixtures .tmp/spec",
11+
"test": "npm run lint && mocha .tmp/spec/index.spec.js",
1212
"posttest": "rm -rf .tmp"
1313
},
1414
"repository": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)