Update dependency change-case to v5 #24468
continuous-integration-javascript.yml
on: pull_request
Matrix: javascript-test
javascript-test-results
0s
Annotations
31 errors and 13 warnings
renders without any issues (no props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:12:16)
|
validations › disallows "min" to equal "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L34
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" to equal "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:34:53)
|
validations › disallows "min" higher than "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L40
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" higher than "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:40:53)
|
validations › allows "min" smaller than "max":
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:30:18)
|
renders without any issues (ALL props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:16:16)
|
correctly resolves code CTRL to "Ctrl" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code CTRL to "Command ⌘" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code SHIFT to "Shift" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code ALT to "Alt" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code SHIFT to "Shift" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
validations › allows "min" smaller than "max":
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:30:18)
|
validations › disallows "min" higher than "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L40
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" higher than "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:40:53)
|
validations › disallows "min" to equal "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L34
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" to equal "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:34:53)
|
renders without any issues (no props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:12:16)
|
renders without any issues (ALL props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:16:16)
|
correctly resolves code CTRL to "Command ⌘" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code ALT to "Option ⌥" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code SHIFT to "Shift" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code CTRL to "Ctrl" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code ALT to "Alt" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
validations › disallows "min" to equal "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L34
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" to equal "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:34:53)
|
validations › disallows "min" higher than "max":
src/sx-design/src/Meter/__tests__/Meter.test.js#L40
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `validations disallows "min" higher than "max" 1`
Snapshot: "Minimum value must be less than maximum value."
Received: "Unexpected token 'export'"
at Object.toThrowErrorMatchingInlineSnapshot (src/Meter/__tests__/Meter.test.js:40:53)
|
validations › allows "min" smaller than "max":
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:30:18)
|
renders without any issues (no props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:12:16)
|
renders without any issues (ALL props):
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/SxDesignProvider.js:5:1)
at require (src/test-utils.js:41:32)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (../../node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24)
at act (../../node_modules/react/cjs/react.development.js:2582:11)
at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26)
at render (../../node_modules/@testing-library/react/dist/pure.js:271:10)
at renderWithProviders (src/test-utils.js:39:32)
at Object.<anonymous> (src/Meter/__tests__/Meter.test.js:16:16)
|
correctly resolves code CTRL to "Command ⌘" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code ALT to "Alt" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code ALT to "Option ⌥" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code SHIFT to "Shift" for mac=true:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
correctly resolves code SHIFT to "Shift" for mac=false:
src/sx/src/transformStyleName.js#L3
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/universe/universe/node_modules/change-case/dist/index.js:15
export function split(value) {
^^^^^^
SyntaxError: Unexpected token 'export'
at Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1505:14)
at Object.require (../sx/src/transformStyleName.js:3:1)
at Object.require (../sx/src/StyleCollectorNode.js:7:1)
at Object.require (../sx/src/injectRuntimeStyles.js:8:1)
at Object.require (../sx/src/create.js:6:1)
at Object.require (../sx/index.js:17:1)
at Object.require (src/Kbd/Kbd.js:4:1)
at require (src/Kbd/__tests__/Kbd.test.js:28:13)
at isolateModules (src/Kbd/__tests__/Kbd.test.js:23:10)
|
javascript-test-results
Process completed with exit code 1.
|
javascript-test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
javascript-test (22.x):
src/rossum-sa-extension/popup/popup.js#L92
Avoid nesting promises
|
javascript-test (22.x):
src/rossum-sa-extension/popup/popup.js#L104
Avoid nesting promises
|
javascript-test (22.x):
src/rossum-sa-extension/popup/popup.js#L116
Avoid nesting promises
|
javascript-test (21.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
javascript-test (21.x):
src/rossum-sa-extension/popup/popup.js#L92
Avoid nesting promises
|
javascript-test (21.x):
src/rossum-sa-extension/popup/popup.js#L104
Avoid nesting promises
|
javascript-test (21.x):
src/rossum-sa-extension/popup/popup.js#L116
Avoid nesting promises
|
javascript-test (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
javascript-test (20.x):
src/rossum-sa-extension/popup/popup.js#L92
Avoid nesting promises
|
javascript-test (20.x):
src/rossum-sa-extension/popup/popup.js#L104
Avoid nesting promises
|
javascript-test (20.x):
src/rossum-sa-extension/popup/popup.js#L116
Avoid nesting promises
|
javascript-test-results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|