sentry
sentry copied to clipboard
deps(ui): Upgrade platformicons
v7 just changes how its built (es2020 & not minified)
:x: 2 Tests Failed:
| Tests completed | Failed | Passed | Skipped |
|---|---|---|---|
| 4848 | 2 | 4846 | 0 |
View the top 2 failed tests by shortest run time
Custom Repositories renders with custom-symbol-sources feature enabled Custom Repositories renders with custom-symbol-sources feature enabledStack Traces | 0.001s run time
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: .../platformicons/build/index.js:1 ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { default as PlatformIcon } from "./platformIcon"; ^^^^^^ SyntaxError: Unexpected token 'export' at new Script (node:vm:116:7) at Runtime.createScriptFromCode (.../jest-runtime/build/index.js:1505:14) at Runtime._execModule (.../jest-runtime/build/index.js:1399:25) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../app/components/platformList.tsx:15:18) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/avatar/projectAvatar.tsx:11:40) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/avatar/index.tsx:20:41) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/baseBadge.tsx:15:34) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/actorBadge.tsx:14:14) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/getBadge.tsx:11:38) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/index.tsx:15:36) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../forms/fields/projectMapperField.tsx:43:35) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/forms/fieldFromConfig.tsx:38:46) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../modals/debugFileCustomRepository/index.tsx:23:43) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at .../sources/customRepositories/index.spec.tsx:67:64 at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (.../sources/customRepositories/index.spec.tsx:67:5)
Docs Search Modal can open help search modal Docs Search Modal can open help search modalStack Traces | 0.154s run time
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: .../platformicons/build/index.js:1 ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { default as PlatformIcon } from "./platformIcon"; ^^^^^^ SyntaxError: Unexpected token 'export' at new Script (node:vm:116:7) at Runtime.createScriptFromCode (.../jest-runtime/build/index.js:1505:14) at Runtime._execModule (.../jest-runtime/build/index.js:1399:25) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../app/components/platformList.tsx:15:18) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/avatar/projectAvatar.tsx:11:40) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/avatar/index.tsx:20:41) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/baseBadge.tsx:15:34) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/actorBadge.tsx:14:14) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/getBadge.tsx:11:38) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/idBadge/index.tsx:15:36) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../app/components/contextPickerModal.tsx:28:35) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../app/actionCreators/navigation.tsx:15:46) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/search/index.tsx:21:15) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../app/components/helpSearch.tsx:15:11) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at Object.<anonymous> (.../components/modals/helpSearchModal.tsx:15:38) at Runtime._execModule (.../jest-runtime/build/index.js:1439:24) at Runtime._loadModule (.../jest-runtime/build/index.js:1022:12) at Runtime.requireModule (.../jest-runtime/build/index.js:882:12) at Runtime.requireModuleOrMock (.../jest-runtime/build/index.js:1048:21) at .../app/actionCreators/modal.tsx:3170:58 at processTicksAndRejections (node:internal/process/task_queues:95:5) at openHelpSearchModal (.../app/actionCreators/modal.tsx:3168:29)
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard