File tree Expand file tree Collapse file tree 4 files changed +25
-7
lines changed Expand file tree Collapse file tree 4 files changed +25
-7
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ if ( $null -eq $env:ChocolateyInstall ) {
2323New-Item - Path " ${PSScriptRoot} \..\tmp\chocolatey" - ItemType " directory" - ErrorAction:SilentlyContinue
2424choco source add -- name= " cache" -- source= " ${PSScriptRoot} \..\tmp\chocolatey" -- priority= 1
2525
26- # Install nodejs v16.15.1 (will use cache if exists)
26+ # Install nodejs v16.16.0 (will use cache if exists)
2727$nodejs = " nodejs.install"
28- choco install " $nodejs " -- version= " 16.15.1 " -- require- checksums - y
28+ choco install " $nodejs " -- version= " 16.16.0 " -- require- checksums - y
2929# Internalise nodejs to cache if doesn't exist
30- if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .16.15.1 .nupkg" - PathType Leaf) ) {
30+ if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .16.16.0 .nupkg" - PathType Leaf) ) {
3131 Save-ChocoPackage - PackageName $nodejs
3232}
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ import path from 'path';
44import { mockProcessStdout } from 'jest-mock-process' ;
55import main from '@/bin/typescript-demo-lib' ;
66
7+ console . log ( 'TEST MODULE' ) ;
8+ console . log ( process . stdout . isTTY ) ;
9+ console . log ( process . stderr . isTTY ) ;
10+ // @ts -ignore windows
11+ console . log ( process . stdout . _handle ) ;
12+ // @ts -ignore windows
13+ console . log ( process . stderr . _handle ) ;
14+
715const uuidRegex = new RegExp (
816 '[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}' ,
917) ;
Original file line number Diff line number Diff line change 1- // @ts -ignore windows
2- process . stdout . _handle . setBlocking ( true ) ;
3- // @ts -ignore windows
4- process . stderr . _handle . setBlocking ( true ) ;
1+ // // @ts -ignore windows
2+ // process.stdout._handle.setBlocking(true);
3+ // // @ts -ignore windows
4+ // process.stderr._handle.setBlocking(true);
5+
6+ console . log ( 'SETUP' ) ;
57
68console . log ( process . stdout . isTTY ) ;
79console . log ( process . stderr . isTTY ) ;
Original file line number Diff line number Diff line change 1+ console . log ( 'SETUP AFTER ENV' ) ;
2+ console . log ( process . stdout . isTTY ) ;
3+ console . log ( process . stderr . isTTY ) ;
4+ // @ts -ignore windows
5+ console . log ( process . stdout . _handle ) ;
6+ // @ts -ignore windows
7+ console . log ( process . stderr . _handle ) ;
8+
19// Default timeout per test
210// some tests may take longer in which case you should specify the timeout
311// explicitly for each test by using the third parameter of test function
You can’t perform that action at this time.
0 commit comments