Skip to content

Commit

Permalink
test: align file menu tests with new implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Jun 12, 2023
1 parent 3aba40b commit f3791b6
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 234 deletions.
5 changes: 5 additions & 0 deletions config/setupTestingLibrary.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { configure } from '@testing-library/dom'

configure({
testIdAttribute: 'data-test',
})
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
testPathIgnorePatterns: ['/node_modules/', '/build/'],
setupFilesAfterEnv: ['<rootDir>/config/setupEnzyme.js'],
setupFilesAfterEnv: [
'<rootDir>/config/setupEnzyme.js',
'<rootDir>/config/setupTestingLibrary.js',
],
}
Loading

0 comments on commit f3791b6

Please sign in to comment.