File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed
Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1+ sudo: false
2+ language: node_js
3+ cache:
4+ directories:
5+ - node_modules
6+ notifications:
7+ email: true
8+ node_js:
9+ - 10
10+ - 9
11+ - 8
12+ before_install:
13+ - npm install -g npm@latest
14+ before_script:
15+ - npm prune
16+ script:
17+ - npm run test
18+ after_success:
19+ - npm run coveralls
Original file line number Diff line number Diff line change 5555 " json" ,
5656 " ts"
5757 ],
58- "rootDir" : " src " ,
58+ "rootDir" : " tests " ,
5959 "testRegex" : " .spec.ts$" ,
6060 "transform" : {
6161 "^.+\\ .(t|j)s$" : " ts-jest"
6262 },
63- "coverageDirectory" : " ./coverage"
63+ "coverageDirectory" : " ./coverage" ,
64+ "testEnvironment" : " node"
6465 },
6566 "bugs" : {
6667 "url" : " https://github.com/GenFirst/nest-status-monitor/issues"
Original file line number Diff line number Diff line change 1+ describe ( 'Component' , ( ) => {
2+ it ( 'should be able to run tests' , ( ) => {
3+ expect ( 1 + 2 ) . toEqual ( 3 ) ;
4+ } ) ;
5+ } ) ;
You can’t perform that action at this time.
0 commit comments