fix(testing): install devkit when init playwright (#19406)

This commit is contained in:
Caleb Ukle 2023-10-03 13:49:49 -05:00 committed by GitHub
parent 9755b50205
commit a1a69a13aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,8 @@ export async function initGenerator(tree: Tree, options: InitGeneratorSchema) {
{}, {},
{ {
'@nx/playwright': nxVersion, '@nx/playwright': nxVersion,
// required since used in playwright config
'@nx/devkit': nxVersion,
'@playwright/test': playwrightVersion, '@playwright/test': playwrightVersion,
} }
) )