Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ink-testing-library to v3 - autoclosed #425

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ink-testing-library ^2.1.0 -> ^3.0.0 age adoption passing confidence

Release Notes

vadimdemedes/ink-testing-library (ink-testing-library)

v3.0.0

Compare Source

Breaking changes

This package is now pure ESM. Please read this.

Thank you

Shoutout to @​amitdahan for converting this package to ESM 💛


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 6, 2023
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from 902c705 to a43a799 Compare March 6, 2023 05:17
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from a43a799 to dfc340a Compare March 13, 2023 05:48
@AriPerkkio
Copy link
Owner

Jest + ESM pain:

transformIgnorePatterns: ['/node_modules/(?!(ink-testing-library)/)'],
$ jest --config test/unit/jest.config.unit.js test/unit/ui.test.tsx
 FAIL  test/unit/ui.test.tsx
  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /x/y/eslint-remote-tester/node_modules/ink-testing-library/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import { EventEmitter } from 'node:events';
                                                                                      ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      2 |
      3 | 
    > 4 | import { render } from 'ink-testing-library';
        | ^
      5 |
      6 | import AppCLI from '@ui/components/AppCLI';
      7 | import { REFRESH_INTERVAL_MS } from '@ui/components/Tasks';

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1495:14)
      at Object.<anonymous> (test/unit/ui.test.tsx:4:1)

@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from dfc340a to 9fabb08 Compare July 10, 2023 01:00
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from 9fabb08 to 9acd590 Compare July 31, 2023 03:56
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from 9acd590 to 240563d Compare August 28, 2023 04:41
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch 2 times, most recently from 6ddf0cd to 21fea8a Compare September 18, 2023 04:35
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch 2 times, most recently from e975b9f to 678c2f0 Compare May 12, 2024 15:24
@renovate renovate bot force-pushed the renovate/ink-testing-library-3.x branch from 678c2f0 to 4ed0d1e Compare May 19, 2024 11:07
@renovate renovate bot changed the title chore(deps): update dependency ink-testing-library to v3 chore(deps): update dependency ink-testing-library to v3 - autoclosed May 22, 2024
@renovate renovate bot closed this May 22, 2024
@renovate renovate bot deleted the renovate/ink-testing-library-3.x branch May 22, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant