(tmpDir: string, type: 'playground' | 'library' | 'empty')
| 59 | } |
| 60 | |
| 61 | function runCreateQwikCommand(tmpDir: string, type: 'playground' | 'library' | 'empty'): string { |
| 62 | const appDir = 'e2e-app'; |
| 63 | execSync( |
| 64 | `node "${workspaceRoot}/packages/create-qwik/create-qwik.cjs" ${type} "${join(tmpDir, appDir)}"` |
| 65 | ); |
| 66 | return join(tmpDir, appDir); |
| 67 | } |
| 68 | |
| 69 | function replacePackagesWithLocalOnes(tmpDir: string) { |
| 70 | const tarballConfig = JSON.parse( |
no test coverage detected
searching dependent graphs…