summaryrefslogtreecommitdiff
path: root/pbt/ts/src/index.test.ts
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-11-15 09:33:09 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-11-15 09:33:09 +0100
commit57472750c9cd14b9907895e5269b3be01819c7b3 (patch)
tree093728bce8c71dad24f9e2665dc70ff7f1b60f35 /pbt/ts/src/index.test.ts
parent208fd364a9a8bdc0e12993ace4f1829303548476 (diff)
downloadlambda-nantes-57472750c9cd14b9907895e5269b3be01819c7b3.tar.gz
[pbt] expose simpler interface Property.run
Diffstat (limited to 'pbt/ts/src/index.test.ts')
-rw-r--r--pbt/ts/src/index.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbt/ts/src/index.test.ts b/pbt/ts/src/index.test.ts
index deb55ec..58f5119 100644
--- a/pbt/ts/src/index.test.ts
+++ b/pbt/ts/src/index.test.ts
@@ -1,9 +1,9 @@
-import Prando from 'prando';
import { prop_reverse_with_two_lists } from './index';
+import { Property } from './property';
describe('testing lists reversal', () => {
test('reverse of two appended lists is append of each list reversed', () => {
- let reverse_append_result = prop_reverse_with_two_lists(new Prando(Math.random() * 1000), 0);
+ let reverse_append_result = Property.run(prop_reverse_with_two_lists);
expect(reverse_append_result).toBe(true);
});
});