From 6cf2df923327ea17ae96887a388c4cfafbb39a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Fri, 24 Jun 2022 10:22:01 +0200 Subject: [PATCH] test(): update schematic option unit tests --- test/lib/schematics/schematic.option.spec.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/lib/schematics/schematic.option.spec.ts b/test/lib/schematics/schematic.option.spec.ts index 9b15d6b28..de4f13451 100644 --- a/test/lib/schematics/schematic.option.spec.ts +++ b/test/lib/schematics/schematic.option.spec.ts @@ -116,16 +116,8 @@ describe('Schematic Option', () => { }); }); - it('should should manage boolean option', () => { + it('should manage boolean option', () => { const option = new SchematicOption('dry-run', false); expect(option.toCommandString()).toEqual('--no-dry-run'); }); - - it('should keep input name boolean option', () => { - const keepNameOption = new SchematicOption('noDryRunABcdEfg', true, true); - expect(keepNameOption.toCommandString()).toEqual('--noDryRunABcdEfg'); - - const disableKeepNameOption = new SchematicOption('dry-run', true, false); - expect(disableKeepNameOption.toCommandString()).toEqual('--dry-run'); - }); });