Skip to content

Commit

Permalink
fix(tests): add js path on imports
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Oct 11, 2024
1 parent 163c2f1 commit db1520a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/ant.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { strict as assert } from 'node:assert';
import { describe, it } from 'node:test';

import { isAoANTState } from '../../src/types/ant';
import { isAoANTState } from '../../src/types/ant.js';

const testAoANTState = {
Name: 'TestToken',
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/token.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { strict as assert } from 'node:assert';
import { describe, it } from 'node:test';

import { IOToken, mIOToken } from '../../src/types/token';
import { IOToken, mIOToken } from '../../src/types/token.js';

describe('IOToken', () => {
it('should throw an error on invalid input', () => {
Expand Down

0 comments on commit db1520a

Please sign in to comment.