File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ node_js:
1212 - " 7.10"
1313 - " 8.11"
1414 - " 9.11"
15+ - " 10.4"
1516sudo : false
1617cache :
1718 directories :
Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ environment:
1212 - nodejs_version : " 7.10"
1313 - nodejs_version : " 8.11"
1414 - nodejs_version : " 9.11"
15+ - nodejs_version : " 10.4"
1516cache :
1617 - node_modules
1718install :
18- - ps : Install-Product node $env:nodejs_version
19+ - ps : >-
20+ try { Install-Product node $env:nodejs_version -ErrorAction Stop }
21+ catch { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) }
1922 - npm config set shrinkwrap false
2023 - if "%nodejs_version%" equ "0.8" npm config set strict-ssl false
2124 - if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ describe('serveIndex(root)', function () {
9393 } )
9494
9595 it ( 'should treat an ENAMETOOLONG as a 414' , function ( done ) {
96- var path = Array ( 11000 ) . join ( 'foobar' )
97- var server = createServer ( )
96+ var dir = path . join ( fixtures , Array ( 10000 ) . join ( '/ foobar' ) )
97+ var server = createServer ( dir )
9898
9999 request ( server )
100- . get ( '/' + path )
100+ . get ( '/' )
101101 . expect ( 414 , done )
102102 } )
103103
You can’t perform that action at this time.
0 commit comments