This adds a major chunk of UI code to the application covering topic listing, topic filtering, subtopic browsing, browsing posts by topic, filtering unread posts, filtering followed posts, sorting posts by recent activity, most activty and most votes, liking/unliking a post, following/unfollowing a post, listing comments and replis in a post. Co-authored-by: Kshitij Sobti <kshitij@sobti.in>
14 lines
431 B
JavaScript
14 lines
431 B
JavaScript
const { createConfig } = require('@edx/frontend-build');
|
|
|
|
module.exports = createConfig('jest', {
|
|
// setupFilesAfterEnv is used after the jest environment has been loaded. In general this is what you want.
|
|
// If you want to add config BEFORE jest loads, use setupFiles instead.
|
|
setupFilesAfterEnv: [
|
|
'<rootDir>/src/setupTest.js',
|
|
],
|
|
coveragePathIgnorePatterns: [
|
|
'src/setupTest.js',
|
|
'src/i18n',
|
|
],
|
|
});
|