Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const { getAsync } = require('../utils/server');
// `res.send` multiple times in one request handler.
// https://github.com/getsentry/sentry-javascript/issues/6670
module.exports = async ({ url: urlBase }) => {
if (process.env.NODE_MAJOR === '10') {
console.log('not running doubleEndMethodOnVercel test on Node 10');
return;
}
const response = await getAsync(`${urlBase}/api/doubleEndMethodOnVercel`);
assert.equal(response, '{"success":true}');
};
1 change: 1 addition & 0 deletions packages/nextjs/test/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ for NEXTJS_VERSION in 10 11 12 13; do
# having to pass this value from function to function to function to the one spot, deep in some callstack, where we
# actually need it
export NEXTJS_VERSION=$NEXTJS_VERSION
export NODE_MAJOR=$NODE_MAJOR

# Next 10 requires at least Node v10
if [ "$NODE_MAJOR" -lt "10" ]; then
Expand Down