Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 22, 2023
1 parent be7e325 commit ed608ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions schematics/plugin/plugin.default-language.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
});
Expand All @@ -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`);
});
Expand Down

0 comments on commit ed608ca

Please sign in to comment.