Skip to content

Commit 3fe3793

Browse files
committed
fix: init test fix
fixing typings issue on init test
1 parent f84469e commit 3fe3793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/commands/init/init.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Init command test', () => {
3737

3838
it('works if directory is cloned after applying init', async () => {
3939
jest.setTimeout(180000)
40-
mockedInquirer.prompt.mockReturnValue({ seedName: 'graphql-server-typed' })
40+
mockedInquirer.prompt.mockReturnValue({ seedName: 'graphql-server-typed' } as any)
4141
const actFunction = init.getAction()
4242
await actFunction(pathToProjectDir)
4343
const projectFolderExists: boolean = fs.lstatSync(absoluteProcessDir).isDirectory()

0 commit comments

Comments
 (0)