add missing ext

This commit is contained in:
syuilo 2024-01-20 14:05:09 +09:00
parent cb74b61755
commit 094c6e32ff
4 changed files with 4 additions and 4 deletions

View File

@ -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 () => {

View File

@ -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 () => {

View File

@ -1,5 +1,5 @@
import { enableFetchMocks } from 'jest-fetch-mock';
import { APIClient, isAPIError } from '../src/api';
import { APIClient, isAPIError } from '../src/api.js';
enableFetchMocks();

View File

@ -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 () => {