We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b9af3 commit f332e47Copy full SHA for f332e47
packages/in-memory-db/src/schematics/nest-add/index.spec.ts
@@ -28,9 +28,11 @@ describe('nest add function', () => {
28
runner = new SchematicTestRunner('schematics', collectionPath);
29
});
30
31
- it('should add package to module', () => {
32
- const ngAddTree = runner.runSchematic('nest-add', '', tree);
+ it('should add package to module', async (done) => {
+ const ngAddTree = await runner.runSchematicAsync('nest-add', '', tree).toPromise();
33
const module = ngAddTree.readContent('/src/app.module.ts');
34
expect(module).toMatchSnapshot();
35
+
36
+ done();
37
38
0 commit comments