Skip to content

Commit 2497440

Browse files
committed
Fix imports in tests
1 parent 5881618 commit 2497440

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/hashCode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { expect, test } from 'vitest';
33
import {
44
chainHash, dropHighestNonSignBit, hashBigInt, hashNumber, hashString,
55
hashTuple, hashValue,
6-
} from '../src/hashCode';
6+
} from '../src/hashCode.js';
77

88
test('dropHighestNonSignBit()', () => {
99
expect(dropHighestNonSignBit(0)).toBe(0);

test/hashMap.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, expect, it } from 'vitest';
22

3-
import { HashMap, HashSet } from '../src/hashMap';
4-
import { hashTuple } from '../src/hashCode';
3+
import { HashMap, HashSet } from '../src/hashMap.js';
4+
import { hashTuple } from '../src/hashCode.js';
55

66
describe('HashMap', () => {
77
it('allows to set and get items by key', () => {

0 commit comments

Comments
 (0)