diff --git a/packages/misskey-js/test-d/api.ts b/packages/misskey-js/test-d/api.ts index 1c2a142e8b..4b72ff4e9d 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 6b186bd45a..b46b06e4df 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 6f9e656fef..fa31d23faa 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 9f6615a8d8..06b55cd8af 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 () => {