ngx-agora
Version:
Angular wrapper for Agora RTC client (https://www.agora.io/en/)
15 lines (11 loc) • 491 B
text/typescript
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', () => {
const runner = new SchematicTestRunner('schematics', collectionPath);
const tree = runner.runSchematicAsync('ng-add', {}, Tree.empty());
tree.subscribe(value => expect(value.files).toEqual([]));
});
});