diff --git a/packages/misskey-js/test-d/api.ts b/packages/misskey-js/test-d/api.ts index 1c2a142e8..4b72ff4e9 100644 --- a/packages/misskey-js/test-d/api.ts +++ b/packages/misskey-js/test-d/api.ts @@ -1,5 +1,5 @@ import { expectType } from 'tsd'; -import * as Misskey from '../src'; +import * as Misskey from '../src/index.js'; describe('API', () => { test('success', async () => { diff --git a/packages/misskey-js/test-d/streaming.ts b/packages/misskey-js/test-d/streaming.ts index 6b186bd45..b46b06e4d 100644 --- a/packages/misskey-js/test-d/streaming.ts +++ b/packages/misskey-js/test-d/streaming.ts @@ -1,5 +1,5 @@ import { expectType } from 'tsd'; -import * as Misskey from '../src'; +import * as Misskey from '../src/index.js'; describe('Streaming', () => { test('emit type', async () => { diff --git a/packages/misskey-js/test/api.ts b/packages/misskey-js/test/api.ts index 6f9e656fe..fa31d23fa 100644 --- a/packages/misskey-js/test/api.ts +++ b/packages/misskey-js/test/api.ts @@ -1,5 +1,5 @@ import { enableFetchMocks } from 'jest-fetch-mock'; -import { APIClient, isAPIError } from '../src/api'; +import { APIClient, isAPIError } from '../src/api.js'; enableFetchMocks(); diff --git a/packages/misskey-js/test/streaming.ts b/packages/misskey-js/test/streaming.ts index 9f6615a8d..06b55cd8a 100644 --- a/packages/misskey-js/test/streaming.ts +++ b/packages/misskey-js/test/streaming.ts @@ -1,5 +1,5 @@ import WS from 'jest-websocket-mock'; -import Stream from '../src/streaming'; +import Stream from '../src/streaming.js'; describe('Streaming', () => { test('useChannel', async () => {