From ed608caee6961124a4b262e2db94e6913ed4b48b Mon Sep 17 00:00:00 2001 From: cipchk Date: Fri, 22 Sep 2023 17:43:50 +0800 Subject: [PATCH] chore: fix test --- schematics/plugin/plugin.default-language.spec.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/schematics/plugin/plugin.default-language.spec.ts b/schematics/plugin/plugin.default-language.spec.ts index 79029b5dd9..e0d96e713b 100644 --- a/schematics/plugin/plugin.default-language.spec.ts +++ b/schematics/plugin/plugin.default-language.spec.ts @@ -13,7 +13,6 @@ describe('NgAlainSchematic: plugin: default-language', () => { it(`should working`, () => { const content = tree.readContent(PATH); expect(content).toContain(`@angular/common/locales/en`); - expect(content).toContain(`NZ_I18N, en_US`); expect(content).toContain(`provideNzI18n, en_US`); expect(content).toContain(`DELON_LOCALE, en_US`); }); @@ -22,7 +21,6 @@ describe('NgAlainSchematic: plugin: default-language', () => { await runner.runSchematic('plugin', { name: 'defaultLanguage', type: 'add', defaultLanguage: 'zh' }, tree); const content = tree.readContent(PATH); expect(content).toContain(`@angular/common/locales/zh`); - expect(content).toContain(`NZ_I18N, zh_CN`); expect(content).toContain(`provideNzI18n, zh_CN`); expect(content).toContain(`DELON_LOCALE, zh_CN`); });