Skip to content

Commit 04b7695

Browse files
authored
migrate graphql-language-service to vitest (#3831)
1 parent 93a048d commit 04b7695

18 files changed

+9
-10
lines changed

packages/codemirror-graphql/src/info.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* @flow */
21
/**
32
* Copyright (c) 2021 GraphQL Contributors
43
* All rights reserved.

packages/codemirror-graphql/src/jump.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
* This source code is licensed under the BSD-style license found in the
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*
118
*/
129

1310
import CodeMirror from 'codemirror';

packages/graphql-language-service/jest.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/graphql-language-service/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"typescript": "^4.6.3"
5454
},
5555
"scripts": {
56-
"benchmark": "ts-node benchmark/index.ts"
56+
"benchmark": "ts-node benchmark/index.ts",
57+
"test": "vitest"
5758
}
5859
}

packages/graphql-language-service/src/interface/__tests__/getDiagnostics-test.ts renamed to packages/graphql-language-service/src/interface/__tests__/getDiagnostics.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*
55
* This source code is licensed under the license found in the
66
* LICENSE file in the root directory of this source tree.
7-
*
8-
* @flow
97
*/
108

119
import fs from 'node:fs';

packages/graphql-language-service/src/interface/__tests__/getHoverInformation-test.ts renamed to packages/graphql-language-service/src/interface/__tests__/getHoverInformation.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
*
55
* This source code is licensed under the license found in the
66
* LICENSE file in the root directory of this source tree.
7-
*
8-
* @flow
97
*/
108

119
import { Hover } from 'vscode-languageserver-types';

0 commit comments

Comments
 (0)