Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/e2e/tests/cspell/cspell.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@

expect(exitCode).toBe(1);
// cspell:disable
expect(normalizeOutput(stdout, cwd)).toMatchInlineSnapshot(`

Check failure on line 13 in packages/e2e/tests/cspell/cspell.test.ts

View workflow job for this annotation

GitHub Actions / Test

[e2e] tests/cspell/cspell.test.ts > cspell > should find spelling errors across multiple file types

Error: Snapshot `cspell > should find spelling errors across multiple file types 1` mismatched - Expected + Received "<dim>Linting with <cyan><bold>flint.config.ts</bold></fg><dim>...</fg> - <underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/contributing.md</underline> + <underline><cwd>/fixtures/CONTRIBUTING.md</underline> - <dim> 2:62</fg> Forbidden or unknown word: "projet". <yellow>cspell</fg> + <dim> 2:62</fg> Forbidden or unknown word: "projet". <yellow>spelling/cspell</fg> - <dim> 3:43</fg> Forbidden or unknown word: "repositry". <yellow>cspell</fg> + <dim> 3:43</fg> Forbidden or unknown word: "repositry". <yellow>spelling/cspell</fg> - <dim> 9:1</fg> Forbidden or unknown word: "establised". <yellow>cspell</fg> + <dim> 9:1</fg> Forbidden or unknown word: "establised". <yellow>spelling/cspell</fg> - <underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/src/config.json</underline> + <underline><cwd>/fixtures/src/config.json</underline> - <dim> 2:30</fg> Forbidden or unknown word: "descripion". <yellow>cspell</fg> + <dim> 2:30</fg> Forbidden or unknown word: "descripion". <yellow>spelling/cspell</fg> - <underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/src/utils.ts</underline> + <underline><cwd>/fixtures/src/utils.ts</underline> - <dim> 3:9</fg> Forbidden or unknown word: "functon". <yellow>cspell</fg> + <dim> 3:9</fg> Forbidden or unknown word: "functon". <yellow>spelling/cspell</fg> - <dim> 10:19</fg> Forbidden or unknown word: "diference". <yellow>cspell</fg> + <dim> 10:19</fg> Forbidden or unknown word: "diference". <yellow>spelling/cspell</fg> - <dim> 12:17</fg> Forbidden or unknown word: "diffarence". <yellow>cspell</fg> + <dim> 12:17</fg> Forbidden or unknown word: "diffarence". <yellow>spelling/cspell</fg> <red>✖ Found <bold>7 reports</bold> across <bold>3 files</bold>.</fg> <red></fg>" ❯ tests/cspell/cspell.test.ts:13:40
"<dim>Linting with <cyan><bold>flint.config.ts</bold></fg><dim>...</fg>

<underline><cwd>/fixtures/CONTRIBUTING.md</underline>
<underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/contributing.md</underline>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is clearly still broken... oh right #2321 hasn't been merged yet. Will rebase 😅

<dim> 2:62</fg> Forbidden or unknown word: "projet". <yellow>cspell</fg>
<dim> 3:43</fg> Forbidden or unknown word: "repositry". <yellow>cspell</fg>
<dim> 9:1</fg> Forbidden or unknown word: "establised". <yellow>cspell</fg>

<underline><cwd>/fixtures/src/config.json</underline>
<underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/src/config.json</underline>
<dim> 2:30</fg> Forbidden or unknown word: "descripion". <yellow>cspell</fg>

<underline><cwd>/fixtures/src/utils.ts</underline>
<underline>/users/dukese01/developer/flint/packages/e2e/tests/cspell/fixtures/src/utils.ts</underline>
<dim> 3:9</fg> Forbidden or unknown word: "functon". <yellow>cspell</fg>
<dim> 10:19</fg> Forbidden or unknown word: "diference". <yellow>cspell</fg>
<dim> 12:17</fg> Forbidden or unknown word: "diffarence". <yellow>cspell</fg>
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e/tests/typescript/typescript.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
const { exitCode, stdout } = await runFlint(cwd);

expect(exitCode).toBe(1);
expect(normalizeOutput(stdout, cwd)).toMatchInlineSnapshot(`

Check failure on line 12 in packages/e2e/tests/typescript/typescript.test.ts

View workflow job for this annotation

GitHub Actions / Test

[e2e] tests/typescript/typescript.test.ts > typescript > should find TypeScript lint issues

Error: Snapshot `typescript > should find TypeScript lint issues 1` mismatched - Expected + Received "<dim>Linting with <cyan><bold>flint.config.ts</bold></fg><dim>...</fg> - <underline>/users/dukese01/developer/flint/packages/e2e/tests/typescript/fixtures/src/with-issues.ts</underline> + <underline><cwd>/fixtures/src/with-issues.ts</underline> <dim> 2:2</fg> Debugger statements should not be used in production code. <yellow>ts/debuggerStatements</fg> <red>✖ Found <bold>1 report</bold> across <bold>1 file</bold>.</fg> <red></fg>" ❯ tests/typescript/typescript.test.ts:12:40
"<dim>Linting with <cyan><bold>flint.config.ts</bold></fg><dim>...</fg>

<underline><cwd>/fixtures/src/with-issues.ts</underline>
<dim> 2:2</fg> Debugger statements should not be used in production code. <yellow>debuggerStatements</fg>
<underline>/users/dukese01/developer/flint/packages/e2e/tests/typescript/fixtures/src/with-issues.ts</underline>
<dim> 2:2</fg> Debugger statements should not be used in production code. <yellow>ts/debuggerStatements</fg>

<red>✖ Found <bold>1 report</bold> across <bold>1 file</bold>.</fg>
<red></fg>"
Expand Down
Loading