Skip to content

Commit

Permalink
fixed formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj committed Sep 25, 2024
1 parent 9f2fffa commit 10334a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unit/commands/tsgen.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {expect} from 'chai'
import {configHandler} from '@contentstack/cli-utilities'

Check warning on line 1 in test/unit/commands/tsgen.test.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Definition for rule 'unicorn/prefer-module' was not found

Check warning on line 1 in test/unit/commands/tsgen.test.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Definition for rule 'unicorn/prefer-module' was not found
import fancy from 'fancy-test'
import {runCommand} from '@oclif/test'
Expand Down Expand Up @@ -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()})
})
})

Expand All @@ -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()})
})
})
})

0 comments on commit 10334a0

Please sign in to comment.