From 10334a0fe3a61cb64876890a4a6bdd72e1da074e Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 25 Sep 2024 17:49:03 +0530 Subject: [PATCH] fixed formatting issue --- test/unit/commands/tsgen.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/unit/commands/tsgen.test.ts b/test/unit/commands/tsgen.test.ts index 3e34c39..8158a8a 100644 --- a/test/unit/commands/tsgen.test.ts +++ b/test/unit/commands/tsgen.test.ts @@ -1,4 +1,3 @@ -import {expect} from 'chai' import {configHandler} from '@contentstack/cli-utilities' import fancy from 'fancy-test' import {runCommand} from '@oclif/test' @@ -31,7 +30,7 @@ describe('Tsgen command', () => { }) ) .it('should generate a type def for graphql query', async () => { - await runCommand(['tsgen', '--token-alias', alias, '--output', filePath, '--api-type', 'graphql'], { root: process.cwd() }); + await runCommand(['tsgen', '--token-alias', alias, '--output', filePath, '--api-type', 'graphql'], {root: process.cwd()}) }) }) @@ -46,7 +45,7 @@ describe('Tsgen command', () => { }) ) .it('should generate a type def for graphql query with namespace', async () => { - await runCommand(['tsgen', '--api-type', 'graphql', '-a', alias, '--output', filePath, '--namespace', 'GraphQL'], { root: process.cwd() }); + await runCommand(['tsgen', '--api-type', 'graphql', '-a', alias, '--output', filePath, '--namespace', 'GraphQL'], {root: process.cwd()}) }) }) })