diff options
| author | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-12-02 04:24:15 +0100 |
|---|---|---|
| committer | Arnaud Bailly <arnaud@pankzsoft.com> | 2025-12-02 04:24:15 +0100 |
| commit | 8a6cfd0187b149a1ce83f62af62bb227ee441277 (patch) | |
| tree | 504ac7f631a93cf813fb1a86afd4b9ee23d23d60 /pbt/ts/src/index.test.ts | |
| parent | 03d9f62f99afbae961fbf5846f015be5f6eee2b1 (diff) | |
| download | lambda-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.ts | 6 |
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'); }); }); |
