Skip to content

Commit 298faa1

Browse files
filipesilvaalexeagle
authored andcommitted
test(@angular/cli): fix implicit import
This lint error resulted from the interaction between #12554 and #12515.
1 parent eddad56 commit 298faa1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/angular/cli/utilities/json-schema_spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import { schema } from '@angular-devkit/core';
1010
import { readFileSync } from 'fs';
1111
import { join } from 'path';
12-
import { of } from 'rxjs';
1312
import { CommandJsonPathException, parseJsonSchemaToCommandDescription } from './json-schema';
1413

1514
describe('parseJsonSchemaToCommandDescription', () => {
@@ -37,7 +36,7 @@ describe('parseJsonSchemaToCommandDescription', () => {
3736
const content = readFileSync(
3837
join(__dirname, '..', uri.substr('ng-cli://'.length)), 'utf-8');
3938

40-
return of(JSON.parse(content));
39+
return Promise.resolve(JSON.parse(content));
4140
} else {
4241
return null;
4342
}

0 commit comments

Comments
 (0)