diff --git a/jest.config.js b/jest.config.js index 94e425a6..e52db180 100644 --- a/jest.config.js +++ b/jest.config.js @@ -34,5 +34,6 @@ module.exports = { "prettier/local": "/tests_config/require_prettier.js", "prettier/standalone": "/tests_config/require_standalone.js" }, + testEnvironment: "node", transform: {} }; diff --git a/package.json b/package.json index 3d3404e8..e9e7b9ea 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "node": ">=6" }, "dependencies": { - "@babel/code-frame": "7.0.0-beta.49", + "@babel/code-frame": "7.0.0-beta.46", "@babel/parser": "7.0.0-beta.49", "@glimmer/syntax": "0.30.3", "camelcase": "4.1.0", @@ -37,7 +37,7 @@ "graphql": "0.13.2", "html-tag-names": "1.1.2", "ignore": "3.3.7", - "jest-docblock": "22.2.2", + "jest-docblock": "23.2.0", "json-stable-stringify": "1.0.1", "leven": "2.1.0", "linguist-languages": "6.2.0", @@ -79,7 +79,7 @@ "eslint-plugin-prettier": "2.6.0", "eslint-plugin-react": "7.7.0", "execa": "0.10.0", - "jest": "21.1.0", + "jest": "22.4.4", "mkdirp": "0.5.1", "prettier": "1.13.7", "prettylint": "1.0.0", @@ -95,11 +95,14 @@ "rollup-plugin-replace": "1.2.1", "rollup-plugin-uglify": "3.0.0", "shelljs": "0.8.1", - "snapshot-diff": "0.2.2", + "snapshot-diff": "0.4.0", "strip-ansi": "4.0.0", "tempy": "0.2.1", "webpack": "3.12.0" }, + "resolutions": { + "@babel/code-frame": "7.0.0-beta.46" + }, "scripts": { "prepublishOnly": "echo \"Error: must publish from dist/\" && exit 1", "prepare-release": "yarn && yarn build && yarn test:dist", diff --git a/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap b/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap index 27efe93b..267a4eb9 100644 --- a/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap +++ b/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.component.ts 1`] = ` +exports[`test.component.ts - typescript-verify 1`] = ` @Component({ selector: 'app-test', template: \`