@@ -30,10 +30,11 @@ const tape = require('tape')
30
30
31
31
const { MockAPMServer } = require ( '../../_mock_apm_server' )
32
32
33
- if ( os . platform ( ) === 'win32' ) {
34
- console . log ( '# SKIP Next.js testing currently is not supported on windows' )
35
- process . exit ( )
36
- }
33
+ // XXX
34
+ // if (os.platform() === 'win32') {
35
+ // console.log('# SKIP Next.js testing currently is not supported on windows')
36
+ // process.exit()
37
+ // }
37
38
if ( semver . lt ( process . version , '12.22.0' ) ) {
38
39
console . log ( `# SKIP next does not support node ${ process . version } ` )
39
40
process . exit ( )
@@ -525,6 +526,7 @@ tape.test('-- prod server tests --', { skip: false /* XXX */ }, suite => {
525
526
'./node_modules/.bin/next' ,
526
527
[ 'start' ] ,
527
528
{
529
+ shell : os . platform ( ) === 'win32' ,
528
530
cwd : __dirname ,
529
531
env : Object . assign ( { } , process . env , {
530
532
NODE_OPTIONS : '-r ./apmsetup.js' ,
@@ -617,6 +619,7 @@ tape.test('-- dev server tests --', { skip: false /* XXX */ }, suite => {
617
619
'./node_modules/.bin/next' ,
618
620
[ 'dev' ] ,
619
621
{
622
+ shell : os . platform ( ) === 'win32' ,
620
623
cwd : __dirname ,
621
624
env : Object . assign ( { } , process . env , {
622
625
NODE_OPTIONS : '-r ./apmsetup.js' ,
0 commit comments