Skip to content

Commit

Permalink
chore(misc): fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Apr 4, 2023
1 parent 45e4f40 commit 191adfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/src/generators/init/init.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jest.mock('@nx/devkit', () => ({
...jest.requireActual('@nrwl/devkit'),
...jest.requireActual('@nx/devkit'),
// need to mock so it doesn't resolve what the workspace has installed
// and be able to test with different versions
ensurePackage: jest.fn(),
Expand Down

0 comments on commit 191adfa

Please sign in to comment.