Skip to content

Commit

Permalink
feat(test-utilities): move private test/ helpers from utilities packa…
Browse files Browse the repository at this point in the history
…ge to make test pass with jest 28
  • Loading branch information
Hotell committed Feb 24, 2023
1 parent 089a5af commit 93d17a8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 24 deletions.
6 changes: 6 additions & 0 deletions packages/test-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@
"enzyme": "^3.0.0",
"react": ">=16.8.0 <19.0.0",
"react-test-renderer": ">=16.3.0 <18.0.0"
},
"exports": {
".": {
"types": "./lib-commonjs/index.d.ts",
"require": "./lib-commonjs/index.js"
}
}
}
1 change: 1 addition & 0 deletions packages/test-utilities/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export { createTestContainer } from './createTestContainer';
export { getCSSRules } from './getCSSRules';
export { safeCreate } from './safeCreate';
export { safeMount } from './safeMount';
export { create } from './reactTestRenderer';
2 changes: 0 additions & 2 deletions packages/utilities/src/test/index.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/utilities/src/test/injectWrapperMethod.ts

This file was deleted.

0 comments on commit 93d17a8

Please sign in to comment.