Skip to content

Commit 0e8d3d9

Browse files
CMCDragonkaitegefaulkes
authored andcommitted
WIP
1 parent a60d0fe commit 0e8d3d9

File tree

10 files changed

+2484
-8619
lines changed

10 files changed

+2484
-8619
lines changed

benches/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import fs from 'fs';
44
import path from 'path';
55
import si from 'systeminformation';
6-
import DB1KiB from './db_1KiB';
7-
import DB1MiB from './db_1MiB';
6+
import DB1KiB from './db_1KiB.js';
7+
import DB1MiB from './db_1MiB.js';
88

99
async function main(): Promise<void> {
1010
await fs.promises.mkdir(path.join(__dirname, 'results'), { recursive: true });

jest.config.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ const config = {
7575
'jest-extended/all',
7676
'<rootDir>/tests/setupAfterEnv.ts'
7777
],
78+
moduleNameMapper: {
79+
"^(\\.{1,2}/.*)\\.js$": "$1",
80+
},
7881
extensionsToTreatAsEsm: ['.ts', '.tsx', '.mts'],
79-
// moduleNameMapper: {
80-
// '^(\\.{1,2}/.*)\\.js$': '$1',
81-
// },
8282
};
8383

8484
export default config;

0 commit comments

Comments
 (0)