mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 01:53:09 +02:00
add missing ext
This commit is contained in:
parent
cb74b61755
commit
094c6e32ff
4 changed files with 4 additions and 4 deletions
|
@ -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 a new issue