summaryrefslogtreecommitdiff
path: root/pbt/ts/src/property.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'pbt/ts/src/property.test.ts')
-rw-r--r--pbt/ts/src/property.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbt/ts/src/property.test.ts b/pbt/ts/src/property.test.ts
index 67ea81d..c47c964 100644
--- a/pbt/ts/src/property.test.ts
+++ b/pbt/ts/src/property.test.ts
@@ -4,7 +4,7 @@ import {
property,
shrinkPair,
shrinkPositive,
-} from './property';
+} from './property.js';
// from https://github.com/jlink/shrinking-challenge/blob/main/challenges/difference.md
const predicate1: (pair: [number, number]) => Promise<boolean> = ([x, y]) =>
@@ -29,7 +29,7 @@ describe('Find minimal counterexample', () => {
if (result.counterexample !== null) {
expect(result.counterexample.counterexample).toStrictEqual([10, 10]);
} else {
- fail('no counterexample');
+ expect.fail('no counterexample');
}
});
});