Skip to content

Commit

Permalink
fix(tests): Include tests in tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRyanDev committed Mar 30, 2016
1 parent 3de2c1c commit 29aaf26
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"build": "gulp build",
"test": "karma start"
"test": "karma start",
"postinstall": "typings install"
},
"author": "",
"license": "MIT",
Expand Down Expand Up @@ -34,6 +35,7 @@
"rxjs": "^5.0.0-beta.4",
"ts-loader": "^0.8.1",
"typescript": "^1.8.9",
"typings": "^0.7.9",
"webpack": "^1.12.14"
},
"babel": {
Expand Down
2 changes: 0 additions & 2 deletions spec/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
declare var describe, it, expect;

describe('Router', () => {
it('should compile', () => {
expect(true).toBe(true);
Expand Down
19 changes: 2 additions & 17 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,9 @@
"inlineSourceMap": false,
"declaration": true
},
"files": [
"./lib/component-renderer.ts",
"./lib/guard.ts",
"./lib/index.ts",
"./lib/location.ts",
"./lib/match-pattern.ts",
"./lib/match-route.ts",
"./lib/middleware.ts",
"./lib/redirect.ts",
"./lib/route-params.ts",
"./lib/route-set.ts",
"./lib/route-view.ts",
"./lib/route.ts",
"./lib/util.ts",
"./typings/main.d.ts"
],
"exclude": [
"node_modules",
"test"
"typings/browser.d.ts",
"typings/browser"
]
}
3 changes: 2 additions & 1 deletion typings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"ambientDependencies": {
"core-js": "github:DefinitelyTyped/DefinitelyTyped/core-js/core-js.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
"core-js": "github:DefinitelyTyped/DefinitelyTyped/core-js/core-js.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd",
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
}
}

0 comments on commit 29aaf26

Please sign in to comment.