UNPKG

@jorgeucanorg/init

Version:

Add scully to your angular app

17 lines (11 loc) 478 B
import { Tree } from '@angular-devkit/schematics'; import { SchematicTestRunner } from '@angular-devkit/schematics/testing'; import * as path from 'path'; const collectionPath = path.join(__dirname, '../collection.json'); describe('scully', () => { it('works', () => { const runner = new SchematicTestRunner('schematics', collectionPath); const tree = runner.runSchematic('scully', {}, Tree.empty()); expect(tree.files).toEqual([]); }); });