Skip to content

Commit

Permalink
fix: schematics service for jest (#276)
Browse files Browse the repository at this point in the history
Add missing condition to load factory and service from jest module.
  • Loading branch information
clementlemarc-certua committed Feb 26, 2020
1 parent 7409082 commit 0f970c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createServiceFactory, SpectatorService } from '@ngneat/spectator';
import { createServiceFactory, SpectatorService } from '@ngneat/spectator<% if (jest) { %>/jest<% } %>';
import { <%= classify(name)%>Service } from './<%= dasherize(name)%>.service';

describe('<%= classify(name)%>Service', () => {
Expand Down

0 comments on commit 0f970c3

Please sign in to comment.