pull/9470/head
Rich Harris 3 years ago
parent 7c92782f2d
commit becfcbc6bf

@ -11,6 +11,7 @@ interface SnapshotTest extends BaseTest {
const { test, run } = suite<SnapshotTest>(async (config, cwd) => { const { test, run } = suite<SnapshotTest>(async (config, cwd) => {
compile_directory(cwd, 'client', config.compileOptions); compile_directory(cwd, 'client', config.compileOptions);
compile_directory(cwd, 'server', config.compileOptions);
// run `UPDATE_SNAPSHOTS=true pnpm test snapshot` to update snapshot tests // run `UPDATE_SNAPSHOTS=true pnpm test snapshot` to update snapshot tests
if (process.env.UPDATE_SNAPSHOTS) { if (process.env.UPDATE_SNAPSHOTS) {

Loading…
Cancel
Save