File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
packages/mongodb-log-writer Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1414permissions :
1515 contents : read # we just need to checkout the repo
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1822jobs :
1923 check-and-test :
Original file line number Diff line number Diff line change 3737 "reformat-changed" : " lerna run reformat --stream --no-bail --since origin/HEAD --exclude-dependents" ,
3838 "reformat" : " lerna run reformat --stream --no-bail" ,
3939 "test-changed" : " lerna run test --stream --concurrency 1 --since origin/HEAD" ,
40- "test-ci" : " lerna run test-ci --concurrency 1 --sort" ,
40+ "test-ci" : " lerna run test-ci --concurrency 1 --sort --bail " ,
4141 "test" : " lerna run test --concurrency 1 --stream" ,
4242 "where" : " node ./scripts/src/where.js"
4343 },
Original file line number Diff line number Diff line change 5757 "test-only" : " nyc mocha --colors -r ts-node/register src/**.spec.ts" ,
5858 "test" : " npm run lint && npm run build && npm run test-only" ,
5959 "test-ci" : " npm run test" ,
60- "build " : " npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs" ,
60+ "compile " : " tsc -p tsconfig.json && gen-esm-wrapper . ./.esm-wrapper.mjs" ,
6161 "prepack" : " npm run build" ,
62- "compile-ts " : " tsc -p tsconfig.json "
62+ "bootstrap " : " npm run compile "
6363 },
6464 "license" : " Apache-2.0" ,
6565 "dependencies" : {
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import sinonChai from 'sinon-chai';
88chai . use ( sinonChai ) ;
99
1010describe ( 'MongoLogWriter' , function ( ) {
11+ it ( 'always fails' , function ( ) {
12+ expect . fail ( 'this failed' ) ;
13+ } ) ;
1114 it ( 'allows writing log messages to a stream' , async function ( ) {
1215 const now = new Date ( 1628591965386 ) ;
1316 const target = new stream . PassThrough ( ) . setEncoding ( 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments