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 14
14
permissions :
15
15
contents : read # we just need to checkout the repo
16
16
17
+ concurrency :
18
+ group : ${{ github.workflow }}-${{ github.ref }}
19
+ cancel-in-progress : true
20
+
17
21
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
18
22
jobs :
19
23
check-and-test :
Original file line number Diff line number Diff line change 37
37
"reformat-changed" : " lerna run reformat --stream --no-bail --since origin/HEAD --exclude-dependents" ,
38
38
"reformat" : " lerna run reformat --stream --no-bail" ,
39
39
"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 " ,
41
41
"test" : " lerna run test --concurrency 1 --stream" ,
42
42
"where" : " node ./scripts/src/where.js"
43
43
},
Original file line number Diff line number Diff line change 57
57
"test-only" : " nyc mocha --colors -r ts-node/register src/**.spec.ts" ,
58
58
"test" : " npm run lint && npm run build && npm run test-only" ,
59
59
"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" ,
61
61
"prepack" : " npm run build" ,
62
- "compile-ts " : " tsc -p tsconfig.json "
62
+ "bootstrap " : " npm run compile "
63
63
},
64
64
"license" : " Apache-2.0" ,
65
65
"dependencies" : {
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import sinonChai from 'sinon-chai';
8
8
chai . use ( sinonChai ) ;
9
9
10
10
describe ( 'MongoLogWriter' , function ( ) {
11
+ it ( 'always fails' , function ( ) {
12
+ expect . fail ( 'this failed' ) ;
13
+ } ) ;
11
14
it ( 'allows writing log messages to a stream' , async function ( ) {
12
15
const now = new Date ( 1628591965386 ) ;
13
16
const target = new stream . PassThrough ( ) . setEncoding ( 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments