Skip to content

Commit ff64032

Browse files
authored
Use update failing tests script in CI (#1378)
1 parent a076c17 commit ff64032

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,8 @@ jobs:
250250
- run: node ./internal/lsp/lsproto/_generate/fetchModel.mjs
251251
- run: node ./internal/lsp/lsproto/_generate/generate.mjs
252252

253-
- name: Remove all converted fourslash tests
254-
run: rm -rf internal/fourslash/tests/gen
255-
256-
- name: Regenerate fourslash tests
257-
run: npm run convertfourslash
253+
- name: Regenerate fourslash tests and update failing test list
254+
run: npm run updatefailing
258255

259256
- run: git add .
260257
- run: git diff --staged --exit-code --stat

internal/fourslash/_scripts/failingTests.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ TestCompletionsUniqueSymbol1
155155
TestCompletionsWithStringReplacementMode1
156156
TestExportEqualCallableInterface
157157
TestFindAllReferencesTripleSlash
158-
TestFindAllRefs_importType_typeofImport
158+
TestFindAllReferencesUmdModuleAsGlobalConst
159159
TestFindAllRefsCommonJsRequire
160160
TestFindAllRefsCommonJsRequire2
161161
TestFindAllRefsCommonJsRequire3
@@ -164,7 +164,7 @@ TestFindAllRefsForDefaultExport03
164164
TestFindAllRefsJsDocImportTag
165165
TestFindAllRefsModuleDotExports
166166
TestFindAllRefsReExport_broken
167-
TestFindAllReferencesUmdModuleAsGlobalConst
167+
TestFindAllRefs_importType_typeofImport
168168
TestFindReferencesAfterEdit
169169
TestGetJavaScriptCompletions1
170170
TestGetJavaScriptCompletions10
@@ -237,8 +237,8 @@ TestJsdocTypedefTagNamespace
237237
TestJsdocTypedefTagTypeExpressionCompletion
238238
TestJsxAriaLikeCompletions
239239
TestJsxFindAllReferencesOnRuntimeImportWithPaths1
240-
TestLocalGetReferences
241240
TestJsxQualifiedTagCompletion
241+
TestLocalGetReferences
242242
TestMemberListErrorRecovery
243243
TestMemberListInWithBlock
244244
TestMemberListOnConstructorType
@@ -293,9 +293,9 @@ TestPathCompletionsTypesVersionsWildcard4
293293
TestPathCompletionsTypesVersionsWildcard5
294294
TestPathCompletionsTypesVersionsWildcard6
295295
TestReferencesForExportedValues
296+
TestReferencesForStatementKeywords
296297
TestReferencesInComment
297298
TestReferencesInEmptyFile
298-
TestReferencesForStatementKeywords
299299
TestReferencesIsAvailableThroughGlobalNoCrash
300300
TestStringCompletionsImportOrExportSpecifier
301301
TestStringCompletionsVsEscaping

0 commit comments

Comments
 (0)