Skip to content

Commit

Permalink
Set up regression testing for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Apr 10, 2017
1 parent d27bc8f commit 6224f31
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"node": ">=4"
},
"scripts": {
"test": "xo && flow check test/flow-types && nyc tap --no-cov --timeout=150 --jobs=4 test/*.js test/reporters/*.js",
"test": "xo && flow check test/flow-types && tsc -p test/ts-types && nyc tap --no-cov --timeout=150 --jobs=4 test/*.js test/reporters/*.js",
"test-win": "tap --no-cov --reporter=classic --timeout=150 --jobs=4 test/*.js test/reporters/*.js",
"visual": "node test/visual/run-visual-tests.js",
"prepublish": "npm run make-ts",
Expand Down Expand Up @@ -188,6 +188,7 @@
"tap": "^10.0.0",
"temp-write": "^3.1.0",
"touch": "^1.0.0",
"typescript": "^2.2.2",
"xo": "^0.18.0",
"zen-observable": "^0.5.1"
},
Expand Down
1 change: 1 addition & 0 deletions test/ts-types/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js
8 changes: 8 additions & 0 deletions test/ts-types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": false,
"sourceMap": false
}
}

0 comments on commit 6224f31

Please sign in to comment.