Skip to content

Commit f2f1d41

Browse files
committed
remove unused integration tests
1 parent 60326d0 commit f2f1d41

File tree

3 files changed

+14
-87
lines changed

3 files changed

+14
-87
lines changed

integration/index.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,20 @@ export const run = async () => {
1313
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
1414
if (err) throw err
1515

16-
for (const file of files) mocha.addFile(join(testsRoot, file))
16+
const preFiles = [] as string[]
17+
const postFiles = ['outline.test.js'] as string[]
18+
19+
for (const file of preFiles) {
20+
mocha.addFile(join(testsRoot, file))
21+
}
22+
23+
for (const file of files.filter(file => !preFiles.includes(file) && !postFiles.includes(file))) {
24+
mocha.addFile(join(testsRoot, file))
25+
}
26+
27+
for (const file of postFiles) {
28+
mocha.addFile(join(testsRoot, file))
29+
}
1730

1831
mocha.run(failures => {
1932
if (failures > 0) {

integration/suite/completions.test.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

integration/suite/jsx.test.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)