UNPKG

@domoinc/ryuu-angular

Version:

Angular Schematic to add @domoinc/ryuu-proxy support

15 lines (11 loc) 496 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('ng-add', () => { it('works', async () => { const runner = new SchematicTestRunner('schematics', collectionPath); const tree = await runner.runSchematic('ng-add', { project: 'testProject' }, Tree.empty()); expect(tree.files).toEqual([]); }); });