mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
add missing ext
This commit is contained in:
parent
cb74b61755
commit
094c6e32ff
@ -1,5 +1,5 @@
|
|||||||
import { expectType } from 'tsd';
|
import { expectType } from 'tsd';
|
||||||
import * as Misskey from '../src';
|
import * as Misskey from '../src/index.js';
|
||||||
|
|
||||||
describe('API', () => {
|
describe('API', () => {
|
||||||
test('success', async () => {
|
test('success', async () => {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { expectType } from 'tsd';
|
import { expectType } from 'tsd';
|
||||||
import * as Misskey from '../src';
|
import * as Misskey from '../src/index.js';
|
||||||
|
|
||||||
describe('Streaming', () => {
|
describe('Streaming', () => {
|
||||||
test('emit type', async () => {
|
test('emit type', async () => {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { enableFetchMocks } from 'jest-fetch-mock';
|
import { enableFetchMocks } from 'jest-fetch-mock';
|
||||||
import { APIClient, isAPIError } from '../src/api';
|
import { APIClient, isAPIError } from '../src/api.js';
|
||||||
|
|
||||||
enableFetchMocks();
|
enableFetchMocks();
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import WS from 'jest-websocket-mock';
|
import WS from 'jest-websocket-mock';
|
||||||
import Stream from '../src/streaming';
|
import Stream from '../src/streaming.js';
|
||||||
|
|
||||||
describe('Streaming', () => {
|
describe('Streaming', () => {
|
||||||
test('useChannel', async () => {
|
test('useChannel', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user