@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
18 lines (14 loc) • 646 B
JavaScript
const base = require('@orchestrator-ui/jest-config/jest-base.config.js');
const nextJest = require('next/jest');
const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: './',
});
// The entry for "uuid" in the moduleNameMapper can be removed when EUI updates the dependency version to 9.0.0 or higher.
// https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md#900-2022-09-05
const customJestConfig = {
...base,
displayName: 'Wfo-UI Tests',
moduleNameMapper: { '^uuid$': 'uuid' },
};
module.exports = createJestConfig(customJestConfig);