File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
projects/igniteui-angular/migrations/update-10_1_0 Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('Update 10.1.0', () => {
2828 appTree . create ( '/angular.json' , JSON . stringify ( configJson ) ) ;
2929 } ) ;
3030
31- it ( 'should update DropPosition.None' , done => {
31+ it ( 'should update DropPosition.None' , async ( ) => {
3232 const origFileContent =
3333 `import { Component, Injectable, ViewChild } from "@angular/core";` +
3434 `import { IgxGridComponent, DropPosition } from "igniteui-angular";` +
@@ -63,9 +63,8 @@ describe('Update 10.1.0', () => {
6363 '/testSrc/appPrefix/component/drop.component.ts' ,
6464 origFileContent ) ;
6565
66- const tree = schematicRunner . runSchematic ( 'migration-16' , { } , appTree ) ;
66+ const tree = await schematicRunner . runSchematicAsync ( 'migration-16' , { } , appTree ) . toPromise ( ) ;
6767 expect ( tree . readContent ( '/testSrc/appPrefix/component/drop.component.ts' ) )
6868 . toEqual ( expectedFileContent ) ;
69- done ( ) ;
7069 } ) ;
7170} ) ;
You can’t perform that action at this time.
0 commit comments