chore: bump @puppeteer/ng-schematics versions (#10200)
This commit is contained in:
parent
6e39a2eb1d
commit
60229810c5
2074
package-lock.json
generated
2074
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -166,7 +166,7 @@
|
||||
"esprima": "4.0.1",
|
||||
"expect": "29.4.3",
|
||||
"glob": "8.1.0",
|
||||
"gts": "4.0.0",
|
||||
"gts": "4.0.1",
|
||||
"husky": "8.0.3",
|
||||
"jpeg-js": "0.4.4",
|
||||
"license-checker": "25.0.1",
|
||||
|
@ -47,14 +47,15 @@
|
||||
"node": ">=16.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular-devkit/architect": "^0.1600.2",
|
||||
"@angular-devkit/core": "^16.0.1",
|
||||
"@angular-devkit/schematics": "^15.2.7"
|
||||
"@angular-devkit/architect": "^0.1600.4",
|
||||
"@angular-devkit/core": "^16.0.4",
|
||||
"@angular-devkit/schematics": "^16.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.7",
|
||||
"@schematics/angular": "^14.2.8",
|
||||
"@angular/cli": "^15.2.2"
|
||||
"@schematics/angular": "^16.0.4",
|
||||
"@angular/cli": "^16.0.4",
|
||||
"rxjs": "7.8.1"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
|
@ -5,7 +5,7 @@ import {JsonObject} from '@angular-devkit/core';
|
||||
import {
|
||||
SchematicTestRunner,
|
||||
UnitTestTree,
|
||||
} from '@angular-devkit/schematics/testing/schematic-test-runner';
|
||||
} from '@angular-devkit/schematics/testing';
|
||||
import expect from 'expect';
|
||||
import sinon from 'sinon';
|
||||
|
||||
@ -65,26 +65,20 @@ async function buildTestingTree(userOptions?: Record<string, any>) {
|
||||
let workingTree: UnitTestTree;
|
||||
|
||||
// Build workspace
|
||||
workingTree = await runner
|
||||
.runExternalSchematicAsync(
|
||||
workingTree = await runner.runExternalSchematic(
|
||||
'@schematics/angular',
|
||||
'workspace',
|
||||
WORKSPACE_OPTIONS
|
||||
)
|
||||
.toPromise();
|
||||
);
|
||||
// Build dummy application
|
||||
workingTree = await runner
|
||||
.runExternalSchematicAsync(
|
||||
workingTree = await runner.runExternalSchematic(
|
||||
'@schematics/angular',
|
||||
'application',
|
||||
APPLICATION_OPTIONS,
|
||||
workingTree
|
||||
)
|
||||
.toPromise();
|
||||
);
|
||||
|
||||
return await runner
|
||||
.runSchematicAsync('ng-add', options, workingTree)
|
||||
.toPromise();
|
||||
return await runner.runSchematic('ng-add', options, workingTree);
|
||||
}
|
||||
|
||||
describe('@puppeteer/ng-schematics: ng-add', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user