Skip to content

Commit

Permalink
Merge pull request #49 from department-of-veterans-affairs/cu/7238-na…
Browse files Browse the repository at this point in the history
…rin-mock-dark-mode

[CU] Mock dark mode in unit tests and add missing tests
  • Loading branch information
narin authored Dec 15, 2023
2 parents e5cf5ba + 92e3df8 commit 3a77c2d
Show file tree
Hide file tree
Showing 5 changed files with 1,169 additions and 461 deletions.
2 changes: 1 addition & 1 deletion packages/components/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'react-native',
preset: 'jest-expo',
testEnvironment: 'node',
transform: {
'^.+\\.(ts|tsx)$': [
Expand Down
1 change: 1 addition & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"expo-status-bar": "~1.6.0",
"gh-pages": "^5.0.0",
"jest": "^29.6.1",
"jest-expo": "~49.0.0",
"jest-styled-components": "^7.1.1",
"metro-react-native-babel-preset": "^0.77.0",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 3a77c2d

Please sign in to comment.