This PR introduces a new UI in Nx Console designed to assist users with managing migrations more effectively. Each migration is now presented with its status and actions, allowing users to interact directly. If any issues arise, users can address them in isolation without disrupting the overall flow. The migrate ui provides a clear overview of the migration state, helping users track progress and understand what actions are required at each step.
20 lines
753 B
TypeScript
20 lines
753 B
TypeScript
/* eslint-disable */
|
|
// nx-ignore-next-line
|
|
const nxPreset = require('@nx/jest/preset').default;
|
|
|
|
export default {
|
|
...nxPreset,
|
|
displayName: 'graph-migrate',
|
|
transform: {
|
|
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest',
|
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/next/babel'] }],
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
|
coverageDirectory: '../../coverage/graph/migrate',
|
|
// The mock for widnow.matchMedia has to be in a separete file and imported before the components to test
|
|
// for more info check : // https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom
|
|
modulePathIgnorePatterns: [
|
|
'/graph/client/src/app/machines/match-media-mock.spec.ts',
|
|
],
|
|
};
|