-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Description
This test on CI sometimes fails, sometimes not:
generator-eslint/tests/app/index.js
Lines 76 to 85 in 5f66b45
// Just make sure the Rule generator ran. More thorough tests are in the separate Rule test file. | |
it("creates expected files", async () => { | |
const expected = [ | |
"docs/rules/no-unused-vars.md", | |
"lib/rules/no-unused-vars.js", | |
"tests/lib/rules/no-unused-vars.js" | |
]; | |
assert.file(expected); | |
}); |
Here's an example of test failure:
https://github.com/eslint/generator-eslint/actions/runs/17326146848/job/49190660431
1) ESLint Main Generator
User answers with Rule
creates expected files:
AssertionError [ERR_ASSERTION]: docs/rules/no-unused-vars.md, no such file or directory
+ expected - actual
-false
+true
at /home/runner/work/generator-eslint/generator-eslint/node_modules/yeoman-assert/index.js:56:12
at Array.forEach (<anonymous>)
at assert.file (node_modules/yeoman-assert/index.js:54:26)
at Context.<anonymous> (file:///home/runner/work/generator-eslint/generator-eslint/tests/app/index.js:84:20)
lumirlumir
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready to Implement