Skip to content

Results of weekly scheduled smoke test #509

Closed
@github-actions

Description

@github-actions

Detected 13 ESLint reports and/or crashes.
Scanned 8804 repositories.

Rules:

  • consistent-data-testid
Click to expand

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
  • Link
  274 |
  275 |       {state.group && (
> 276 |         <div className={styles.wrapper} data-testid="group-page">
  277 |           {/* <div className={styles.templogo} /> */}
  278 |           {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
  279 |           <div className={styles.content}>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
  • Path: gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
  • Link
  121 |
  122 |   return (
> 123 |     <div data-testid="tag-page" className={styles.pageWrapper}>
  124 |       {isTagRemovedShowModal && (
  125 |         <Modal onClose={() => setIsTagRemovedShowModal(false)}>
  126 |           Tag removed! - success!
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
  • Link
  4 | const NamedSplat = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | const SplatRoute = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
  • Link
  4 | const FakeDataTitleName = props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
  7 |     <h2 data-testid="splat">{props.params.name}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  12 |         path={path}
  13 |       />
> 14 |       <Link to="../page-B" data-testid="page-b-link">
  15 |         Go to page B
  16 |       </Link>
  17 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
  • Link
  22 |         path={path}
  23 |       />
> 24 |       <Link to="../page-B" data-testid="page-b-link">
  25 |         Go to page B
  26 |       </Link>
  27 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
  • Link
  20 |         path={path}
  21 |       />
> 22 |       <Link to="../page-B" data-testid="page-b-link">
  23 |         Go to page B
  24 |       </Link>
  25 |     </>
SyntaxError: Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
  • Path: gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
  • Link
  4 | export default props => (
  5 |   <Layout>
> 6 |     <h1 data-testid="title">SPLAT!</h1>
  7 |     <h2 data-testid="splat">{props.params["*"]}</h2>
  8 |   </Layout>
  9 | )
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
  • Path: gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
  • Link
   5 |     <div>
   6 |       <h2>Query</h2>
>  7 |       <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
   8 |       <h2>Params</h2>
   9 |       <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
  10 |       <h2>Debug</h2>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Rule: consistent-data-testid

  • Message: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
  • Path: vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
  • Link
  210 |           <Box flex={1} height="1px" textAlign="center">
  211 |             <Image
> 212 |               data-testid="picture-detail"
  213 |               src={photo.data?.getPhoto?.files[2] ?? ""}
  214 |             />
  215 |           </Box>
SyntaxError: Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')'
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
    at new RegExp (<anonymous>)
    at getTestIdValidator (/github/workspace/dist/rules/consistent-data-testid.js:75:20)
    at Object.JSXIdentifier (/github/workspace/dist/rules/consistent-data-testid.js:96:31)
    at enhancedRuleInstructions.<computed> (/github/workspace/dist/create-testing-library-rule/detect-testing-library-utils.js:518:105)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:336:14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions