Skip to content

Commit

Permalink
feat(store): removing the test for immutability checks
Browse files Browse the repository at this point in the history
Closes #2217
  • Loading branch information
evgenyfedorenko committed Nov 17, 2019
1 parent 9b11ebc commit b78c59a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions modules/store/schematics/ng-add/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,4 @@ describe('Store ng-add Schematic', () => {

expect(content).toMatch(/export interface AppState {/);
});

it('should not add runtime checks by default', () => {
const options = {
...defaultOptions,
module: 'app.module.ts',
minimal: true,
};

const tree = schematicRunner.runSchematic('ng-add', options, appTree);
const content = tree.readContent(`${projectPath}/src/app/app.module.ts`);

expect(content).toMatch(/StoreModule.forRoot\(\{\}, \{\}\)/);
});
});

0 comments on commit b78c59a

Please sign in to comment.