Skip to content

Commit 5d8d658

Browse files
committed
maybe fix windows now?
1 parent c69e84e commit 5d8d658

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/integration-tests/fixtures/errorhandling/error-no-handler.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ describe("Error throwing by default (no errorHandler)", () => {
1313
cwd: __dirname,
1414
stdio: "ignore", // <-- set to "inherit" to get server logs. Deactivated to avoid test logs.
1515
env: { ...process.env, FAKE_SENTRY_PORT },
16+
shell: true,
1617
});
1718

1819
beforeAll(async () => {
@@ -33,6 +34,7 @@ describe("Error throwing by default (no errorHandler)", () => {
3334
const buildProcess = spawn("yarn", ["ts-node", path.join(__dirname, `build-${bundler}.ts`)], {
3435
env: { ...process.env, FAKE_SENTRY_PORT },
3536
stdio: "ignore", // <-- set to "inherit" to get build output. Deactivated to avoid spamming test logs.
37+
shell: true,
3638
});
3739

3840
const exitCode = await new Promise<number>((resolve, reject) => {
@@ -57,6 +59,7 @@ describe("Error throwing by default (no errorHandler)", () => {
5759
const buildProcess = spawn("yarn", ["ts-node", path.join(__dirname, `build-webpack4.ts`)], {
5860
env: { ...process.env, FAKE_SENTRY_PORT },
5961
stdio: "ignore", // <-- set to "inherit" to get build output. Deactivated to avoid spamming test logs.
62+
shell: true,
6063
});
6164

6265
const exitCode = await new Promise<number>((resolve, reject) => {

packages/integration-tests/fixtures/errorhandling/fakeSentry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const { createServer } = require("http");
44
const port = process.env["FAKE_SENTRY_PORT"] || 3000;
55

66
const server = createServer((req, res) => {
7+
// eslint-disable-next-line no-console
78
console.log("[SANTRY] incoming request", req.url);
89
res.statusCode = 503;
910
res.end("Error: Santry unreachable");

0 commit comments

Comments
 (0)