Skip to content

Commit 794075b

Browse files
FrozenPandazvsavkin
authored andcommittedAug 30, 2018
fix(builders): import directly from jest
1 parent 5ccaef9 commit 794075b

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed
 

Diff for: ‎package.json

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"@schematics/angular": "^0.7.2",
4343
"@types/jasmine": "~2.8.6",
4444
"@types/jasminewd2": "~2.0.3",
45-
"@types/jest": "^23.3.1",
4645
"@types/node": "~8.9.4",
4746
"@types/prettier": "^1.10.0",
4847
"@types/yargs": "^11.0.0",

Diff for: ‎packages/builders/src/jest/jest.builder.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import JestBuilder from './jest.builder';
22
import { normalize } from '@angular-devkit/core';
3-
import * as jestCLI from 'jest-cli';
3+
import * as jestCLI from 'jest';
44
import * as path from 'path';
55

66
describe('Jest Builder', () => {

Diff for: ‎packages/builders/src/jest/jest.builder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { map } from 'rxjs/operators';
99

1010
import * as path from 'path';
1111

12-
import { runCLI as runJest } from 'jest-cli';
12+
import { runCLI as runJest } from 'jest';
1313

1414
export interface JestBuilderOptions {
1515
jestConfig: string;

Diff for: ‎yarn.lock

-4
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,6 @@
275275
dependencies:
276276
"@types/jasmine" "*"
277277

278-
"@types/jest@^23.3.1":
279-
version "23.3.1"
280-
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-23.3.1.tgz#a4319aedb071d478e6f407d1c4578ec8156829cf"
281-
282278
"@types/node@*":
283279
version "10.5.3"
284280
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.3.tgz#5bcfaf088ad17894232012877669634c06b20cc5"

0 commit comments

Comments
 (0)
Please sign in to comment.