Skip to content

Commit 01e3e9f

Browse files
committed
[tests] 100% coverage
1 parent 2fa9ab7 commit 01e3e9f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

coverage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"tests":7101,"assertions":31961,"lines":{"total":2342,"covered":2342,"skipped":0,"pct":100},"statements":{"total":2533,"covered":2533,"skipped":0,"pct":100},"functions":{"total":1010,"covered":1010,"skipped":0,"pct":100},"branches":{"total":894,"covered":892,"skipped":0,"pct":99.77},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
1+
{"tests":7101,"assertions":31961,"lines":{"total":2340,"covered":2340,"skipped":0,"pct":100},"statements":{"total":2533,"covered":2533,"skipped":0,"pct":100},"functions":{"total":1010,"covered":1010,"skipped":0,"pct":100},"branches":{"total":892,"covered":892,"skipped":0,"pct":100},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}

gulpfile.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ export const testBun = () =>
687687
);
688688

689689
export const testUnitFast = async () => {
690-
await test(['test/unit/core']);
690+
await test(['test/unit/core'], true);
691691
};
692692

693693
export const compileAndTestUnit = series(compileForTest, testUnit);

src/common/other.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {BOOLEAN, FUNCTION, STRING, getTypeOf} from './strings.ts';
33
const promise = Promise;
44

55
const getIfNotFunction =
6-
(predicate = isNullish) =>
6+
(predicate: (value: unknown) => value is unknown) =>
77
<Value, Return>(
88
value: Value | null | undefined,
99
then: (value: Value) => Return,

0 commit comments

Comments
 (0)