diff --git a/src/lib/schematics/migration.json b/src/lib/schematics/migration.json index 8f6af4b05ca5..41364f86c45a 100644 --- a/src/lib/schematics/migration.json +++ b/src/lib/schematics/migration.json @@ -1,12 +1,12 @@ { "$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json", "schematics": { - "migration-01": { + "migration-v6": { "version": "6", "description": "Updates Angular Material to v6", "factory": "./ng-update/index#updateToV6" }, - "migration-02": { + "migration-v7": { "version": "7", "description": "Updates Angular Material to v7", "factory": "./ng-update/index#updateToV7" diff --git a/src/lib/schematics/ng-update/test-cases/misc/constructor-checks.spec.ts b/src/lib/schematics/ng-update/test-cases/misc/constructor-checks.spec.ts index d57393ea2fc5..b702af395172 100644 --- a/src/lib/schematics/ng-update/test-cases/misc/constructor-checks.spec.ts +++ b/src/lib/schematics/ng-update/test-cases/misc/constructor-checks.spec.ts @@ -3,7 +3,7 @@ import {resolveBazelDataFile, runTestCases} from '../index.spec'; describe('constructor checks', () => { it('should properly report invalid constructor expression signatures', async () => { - const {logOutput} = await runTestCases('migration-01', { + const {logOutput} = await runTestCases('migration-v6', { 'constructor-checks': resolveBazelDataFile(`misc/constructor-checks_input.ts`) }); diff --git a/src/lib/schematics/ng-update/test-cases/misc/import-checks.spec.ts b/src/lib/schematics/ng-update/test-cases/misc/import-checks.spec.ts index 77956203ea2b..25a8029700ed 100644 --- a/src/lib/schematics/ng-update/test-cases/misc/import-checks.spec.ts +++ b/src/lib/schematics/ng-update/test-cases/misc/import-checks.spec.ts @@ -3,7 +3,7 @@ import {resolveBazelDataFile, runTestCases} from '../index.spec'; describe('v6 import misc checks', () => { it('should report imports for deleted animation constants', async () => { - const {logOutput} = await runTestCases('migration-01', { + const {logOutput} = await runTestCases('migration-v6', { 'import-checks': resolveBazelDataFile(`misc/import-checks_input.ts`) }); diff --git a/src/lib/schematics/ng-update/test-cases/misc/method-call-checks.spec.ts b/src/lib/schematics/ng-update/test-cases/misc/method-call-checks.spec.ts index 30f65c5e73c9..5a2f00f98421 100644 --- a/src/lib/schematics/ng-update/test-cases/misc/method-call-checks.spec.ts +++ b/src/lib/schematics/ng-update/test-cases/misc/method-call-checks.spec.ts @@ -3,7 +3,7 @@ import {resolveBazelDataFile, runTestCases} from '../index.spec'; describe('v6 method call checks', () => { it('should properly report invalid method calls', async () => { - const {logOutput} = await runTestCases('migration-01', { + const {logOutput} = await runTestCases('migration-v6', { 'method-call-checks': resolveBazelDataFile(`misc/method-call-checks_input.ts`) }); diff --git a/src/lib/schematics/ng-update/test-cases/v6-test-cases.spec.ts b/src/lib/schematics/ng-update/test-cases/v6-test-cases.spec.ts index 1d4ee7a619c6..84182e53584b 100644 --- a/src/lib/schematics/ng-update/test-cases/v6-test-cases.spec.ts +++ b/src/lib/schematics/ng-update/test-cases/v6-test-cases.spec.ts @@ -25,7 +25,7 @@ describe('v6 upgrade test cases', () => { return inputs; }, {}); - const {tempPath} = await runTestCases('migration-01', testCaseInputs); + const {tempPath} = await runTestCases('migration-v6', testCaseInputs); testCasesOutputPath = join(tempPath, 'projects/material/src/test-cases/'); }); diff --git a/src/lib/schematics/ng-update/test-cases/v7-test-cases.spec.ts b/src/lib/schematics/ng-update/test-cases/v7-test-cases.spec.ts index 880110171ebe..bbdc6b5a5770 100644 --- a/src/lib/schematics/ng-update/test-cases/v7-test-cases.spec.ts +++ b/src/lib/schematics/ng-update/test-cases/v7-test-cases.spec.ts @@ -20,7 +20,7 @@ describe('v7 upgrade test cases', () => { return inputs; }, {}); - const {tempPath} = await runTestCases('migration-02', testCaseInputs); + const {tempPath} = await runTestCases('migration-v7', testCaseInputs); testCasesOutputPath = join(tempPath, 'projects/material/src/test-cases/'); });