From b3285b3f5878d705fcbeb7165097b6623a02f553 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Sun, 30 Aug 2026 18:08:55 +0200 Subject: Replace jest with vitest This implies fixing some quirky modules import logic. Thanks to Claude for fixing this whole s**t --- pbt/ts/src/property.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbt/ts/src/property.test.ts') 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 = ([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'); } }); }); -- cgit v1.3.1