Skip to content

Commit 2038a37

Browse files
committed
no import export type in test
1 parent 4e474b3 commit 2038a37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/env/typescript-node/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const config = {
1515
apiKey: 'masterKey',
1616
}
1717

18-
export interface Movie {
18+
interface Movie {
1919
id: number
2020
title: string
2121
genre?: string

tests/search.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
getClient,
1010
datasetWithNests,
1111
} from './utils/meilisearch-test-utils'
12-
import { Movie } from './env/typescript-node/src'
12+
1313

1414
const index = {
1515
uid: 'movies_test',
@@ -18,7 +18,7 @@ const emptyIndex = {
1818
uid: 'empty_test',
1919
}
2020

21-
const dataset: Movie[] = [
21+
const dataset = [
2222
{
2323
id: 123,
2424
title: 'Pride and Prejudice',

0 commit comments

Comments
 (0)