* chore: adding jest-dom package and configuring it Also bumping version of paragon - it’s in this commit because the changes in package-lock.json can’t really be separated from each other. * fix: improve mocked data in the API layer Make the mocked data for the app configs closer to reality, using correct shape and better IDs. * fix: improve layout of FormSwitchGroup and make compatible wit latest paragon Form.Group needs a controlId, and this layout gives a nice gutter between the text side on the left and the switch itself on the right. * fix: active vs. displayed apps and app configs We have a problem in that the app config and app that are _displayed_ in the frontend are not necessarily the same as app and app config that’s _active_ for the course. I.e., maybe I’m configuring a new one, but a different integration’s already set up. This commit changes our data model a bit to differentiate between the two - this will let us display information about what’s currently active at the same time as configuring a different integration. This commit also tweaks a Container size to make the form a bit wider. Pretty. * refactor: split LegacyConfigForm parts out into their own components This is in preparation for needing to share legacy config form fields with the ‘standard’ config form for the new discussions MFE. In particular, we also need to pull the InContextDiscussionFields out of the legacy form - that component exists but isn’t technically used in this commit. It will be included in the ‘standard’ form soon.
12 lines
242 B
JavaScript
12 lines
242 B
JavaScript
const { createConfig } = require('@edx/frontend-build');
|
|
|
|
module.exports = createConfig('jest', {
|
|
setupFilesAfterEnv: [
|
|
'<rootDir>/src/setupTest.js',
|
|
],
|
|
coveragePathIgnorePatterns: [
|
|
'src/setupTest.js',
|
|
'src/i18n',
|
|
],
|
|
});
|