diff options
| author | Arnaud Bailly <arnaud@pankzsoft.com> | 2026-08-30 18:08:55 +0200 |
|---|---|---|
| committer | Arnaud Bailly <arnaud@pankzsoft.com> | 2026-09-01 07:58:04 +0200 |
| commit | b3285b3f5878d705fcbeb7165097b6623a02f553 (patch) | |
| tree | 6b08a1eb2e88eb0406979642c7f2b61547815fa8 /pbt/ts/src/fs.ts | |
| parent | 966f532a61b34d187bfdeefed7617fbfb6f768ed (diff) | |
| download | lambda-nantes-b3285b3f5878d705fcbeb7165097b6623a02f553.tar.gz | |
Replace jest with vitest
This implies fixing some quirky modules import logic. Thanks to Claude
for fixing this whole s**t
Diffstat (limited to 'pbt/ts/src/fs.ts')
| -rw-r--r-- | pbt/ts/src/fs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbt/ts/src/fs.ts b/pbt/ts/src/fs.ts index 133c8fd..716b8ac 100644 --- a/pbt/ts/src/fs.ts +++ b/pbt/ts/src/fs.ts @@ -1,7 +1,7 @@ import {mkdtemp, realpath} from 'fs/promises'; import {tmpdir} from 'os'; -import path = require('path'); -import fs = require('fs'); +import * as path from 'path'; +import * as fs from 'fs'; export const withTempFile = <A>(fn: (filepath: string) => A) => withTempDir(dir => fn(path.join(dir, 'file'))); |
