We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running yarn test or npm run test results in the following error due to issues between FluentUI and Jest:
yarn test
npm run test
/var/code/microsoft/electionguard-tracking-site/node_modules/office-ui-fabric-react/lib/Icon.js:1 ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export * from './components/Icon/index'; ^^^^^^ SyntaxError: Unexpected token 'export' 1 | import React from 'react'; > 2 | import { FontIcon } from 'office-ui-fabric-react/lib/Icon'; | ^ 3 | import { mergeStyles } from 'office-ui-fabric-react/lib/Styling'; 4 | import { IPalette, Stack, Text } from '@fluentui/react'; 5 | import { useTheme } from '@fluentui/react-theme-provider'; at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:537:17) at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:579:25) at Object.<anonymous> (src/components/StatusMessage.tsx:2:1)
The text was updated successfully, but these errors were encountered:
is this being looked into?
Sorry, something went wrong.
No branches or pull requests
Running
yarn test
ornpm run test
results in the following error due to issues between FluentUI and Jest:The text was updated successfully, but these errors were encountered: