summaryrefslogtreecommitdiff
path: root/pbt/ts/src/index.test.ts
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-12-02 04:24:15 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-12-02 04:24:15 +0100
commit8a6cfd0187b149a1ce83f62af62bb227ee441277 (patch)
tree504ac7f631a93cf813fb1a86afd4b9ee23d23d60 /pbt/ts/src/index.test.ts
parent03d9f62f99afbae961fbf5846f015be5f6eee2b1 (diff)
downloadlambda-nantes-8a6cfd0187b149a1ce83f62af62bb227ee441277.tar.gz
Make property async aware
Diffstat (limited to 'pbt/ts/src/index.test.ts')
-rw-r--r--pbt/ts/src/index.test.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/pbt/ts/src/index.test.ts b/pbt/ts/src/index.test.ts
index b0d5cdc..b102fe3 100644
--- a/pbt/ts/src/index.test.ts
+++ b/pbt/ts/src/index.test.ts
@@ -2,8 +2,10 @@ 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', () => {
- const reverse_append_result = Property.run(prop_reverse_with_two_lists);
+ test('reverse of two appended lists is append of each list reversed', async () => {
+ const reverse_append_result = await Property.run(
+ prop_reverse_with_two_lists,
+ );
expect(reverse_append_result.result).toBe('OK');
});
});