test: avoid extra output

This commit is contained in:
alexander.akait 2024-03-13 18:19:17 +03:00
parent 85b7a5a3e9
commit 1e685046c4
4 changed files with 14 additions and 5 deletions

View File

@ -88,7 +88,7 @@ jobs:
with:
path: .jest-cache
key: jest-unit-${{ env.GITHUB_SHA }}
restore-keys: jest-unit-
restore-keys: jest-unit-${{ hashFiles('**/yarn.lock', '**/jest.config.js') }}
- run: yarn cover:unit --ci --cacheDirectory .jest-cache
- uses: codecov/codecov-action@v4
with:
@ -165,7 +165,7 @@ jobs:
with:
path: .jest-cache
key: jest-integration-${{ env.GITHUB_SHA }}
restore-keys: jest-integration-
restore-keys: jest-integration-${{ hashFiles('**/yarn.lock', '**/jest.config.js') }}
- run: yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache || yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache -f
- run: yarn cover:merge
- uses: codecov/codecov-action@v4

View File

@ -1,5 +1,10 @@
export const baz = 11;
import { mod3 } from "./index";
console.log(mod3.apple);
function test(value) {
return value;
}
test(mod3.apple);

View File

@ -1,5 +1,10 @@
export const baz = 11;
import { mod3 } from "./index";
console.log(mod3.apple);
function test(value) {
return value;
}
test(mod3.apple);

View File

@ -2,7 +2,6 @@ class ReadRecordsPlugin {
apply(compiler) {
compiler.hooks.readRecords.tapAsync("ReadRecordsPlugin", callback => {
setTimeout(() => {
console.log("Done with reading records.");
callback();
}, 1000);
});