Revert change to integrations/postcss/index.test.ts

This commit is contained in:
Philipp Spiess 2024-08-23 15:25:48 +02:00
parent f37565de7a
commit b8fd2e704f

View file

@ -257,9 +257,11 @@ test(
},
},
async ({ root, fs, spawn }) => {
await spawn('pnpm postcss src/index.css --output dist/out.css --watch --verbose', {
cwd: path.join(root, 'project-a'),
})
let process = await spawn(
'pnpm postcss src/index.css --output dist/out.css --watch --verbose',
{ cwd: path.join(root, 'project-a') },
)
await process.onStderr((message) => message.includes('Waiting for file changes...'))
await fs.expectFileToContain('project-a/dist/out.css', [
candidate`underline`,