File tree 3 files changed +34
-4
lines changed
3 files changed +34
-4
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ docker :
5
+ - image : circleci/node:8.10
6
+ steps :
7
+ - checkout
8
+ - run : yarn install
9
+ - run : yarn build
10
+ test :
11
+ docker :
12
+ - image : circleci/node:8.10
13
+ steps :
14
+ - checkout
15
+ - run : yarn install
16
+ - run : yarn lint
17
+ - run : yarn test
18
+ - run : yarn test:parse
19
+ - run : yarn test:html
20
+ workflows :
21
+ version : 2
22
+ build_and_test :
23
+ jobs :
24
+ - build
25
+ - test
Original file line number Diff line number Diff line change 17
17
"tail:html" : " serverless logs --function parseHtml --tail" ,
18
18
"test" : " jest" ,
19
19
"test:watch" : " jest --watch" ,
20
- "test:deploy" : " cd api_check && MIX_ENV=dev_deploy mix test" ,
21
- "test:deploy:prod" : " cd api_check && MIX_ENV=prod_deploy mix test" ,
22
20
"build" : " serverless webpack" ,
23
- "watch:nytimes " : " serverless invoke local --watch --function mercuryParser --path fixtures/nytimes.json" ,
24
- "watch :html" : " serverless invoke local --watch --function parseHtml --path fixtures/html.json"
21
+ "test:parse " : " serverless invoke local --function mercuryParser --path fixtures/nytimes.json" ,
22
+ "test :html" : " serverless invoke local --function parseHtml --path fixtures/html.json"
25
23
},
26
24
"dependencies" : {
27
25
"@postlight/mercury-parser" : " ^1.1.0" ,
Original file line number Diff line number Diff line change
1
+ describe ( 'verify tests are working' , ( ) => {
2
+ it ( 'tests truth' , ( ) => {
3
+ const args = "" ;
4
+ const expected = "" ;
5
+ expect ( ( args ) ) . toEqual ( expected )
6
+ } ) ;
7
+ } ) ;
You can’t perform that action at this time.
0 commit comments