chore(deps): update dependency @types/node to v18.16.18#577
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔴 | Statements | 1.31% | 6/458 |
| 🔴 | Branches | 0% | 0/91 |
| 🔴 | Functions | 1.43% | 1/70 |
| 🔴 | Lines | 1.46% | 6/410 |
Test suite run failed
Failed tests: 0/1. Failed suites: 1/2.
● 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:
/home/runner/work/chirpy/chirpy/node_modules/.pnpm/github-slugger@2.0.0/node_modules/github-slugger/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import { regex } from './regex.js'
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@29.5.0/node_modules/jest-runtime/build/index.js:1495:14)
at Object.<anonymous> (src/server/common/constants.ts:371:66)
at Object.<anonymous> (src/server/mdx/files.ts:1127:27)
at Object.<anonymous> (src/server/mdx/__tests__/files.test.ts:23:16)
Report generated by 🧪jest coverage report action from ee649ad
Job #1397: Bundle Size — 2.3MiB (0%).Metrics (no changes)
Total size by type (no changes)
|
2 failed tests on run #1926 ↗︎Details:
|
|||||||||||||||||||||||||||
| Test | Artifacts | |
|---|---|---|
| Header > should show user menu |
Output
Screenshots
Video
|
|
dashboard/project.spec.ts • 1 failed test • Cypress Actions
| Test | Artifacts | |
|---|---|---|
| Project > should show integration doc |
Output
Screenshots
Video
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
This PR contains the following updates:
16.11.45->18.16.1818.7.6->18.16.18Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.