Skip to content

Commit

Permalink
Merge pull request #79 from broadlume/jest-upgrades
Browse files Browse the repository at this point in the history
Upgrades
  • Loading branch information
StephenGrable1 authored Jan 19, 2022
2 parents 7137114 + e2e45fb commit 946800b
Show file tree
Hide file tree
Showing 3 changed files with 698 additions and 410 deletions.
5 changes: 4 additions & 1 deletion packages/jest-preset/babel-jest.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = require("babel-jest").default.createTransformer({
const babelJestMd = require('babel-jest');
const babelJest = babelJestMd.__esModule ? babelJestMd.default : babelJestMd;

module.exports = babelJest.createTransformer({
rootMode: "upward",
});
12 changes: 6 additions & 6 deletions packages/jest-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adhawk/jest-preset",
"version": "2.0.7",
"version": "2.0.8",
"description": "Jest preset for testing Typescript/Javascript",
"author": "Ian Ker-Seymer <[email protected]>",
"publishConfig": {
Expand All @@ -19,18 +19,18 @@
"license": "MIT",
"dependencies": {
"@adhawk/babel-preset": "^2.0.5",
"@babel/core": "^7.15.0",
"@types/jest": "^27.0.1",
"babel-jest": "^27.0.6",
"@babel/core": "^7.16.7",
"@types/jest": "^27.4.0",
"babel-jest": "^27.4.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"graphql": "^15.5.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
"jest": "^27.4.6",
"jest-enzyme": "^7.1.2",
"jest-transform-graphql": "^2.1.0",
"react-app-polyfill": "^2.0.0",
"ts-jest": "^27.0.5"
"ts-jest": "^27.1.3"
},
"devDependencies": {
"lerna": "^3.15.0",
Expand Down
Loading

0 comments on commit 946800b

Please sign in to comment.