File tree Expand file tree Collapse file tree
polyglot-notebooks-browser
polyglot-notebooks-vscode-insiders
polyglot-notebooks-vscode Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ const fs = require ( 'fs' ) ;
2+ const path = require ( 'path' ) ;
3+
4+ const outputDir = path . resolve ( __dirname , '../artifacts/TestResults/Release' ) ;
5+
6+ if ( ! fs . existsSync ( outputDir ) ) {
7+ fs . mkdirSync ( outputDir , { recursive : true } ) ;
8+ }
Original file line number Diff line number Diff line change 99 "compile" : " npm run rollup" ,
1010 "compile-ci" : " rollup -c rollup.config.js --bundleConfigAsCjs" ,
1111 "test" : " mocha tests/**/*.test.ts" ,
12- "ciTest" : " npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
12+ "ciTest" : " node ../ensure-testresults-directory.js && npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
1313 "rollup" : " npm run compile-ci -- -i src/index.ts -o dist/dotnet-interactive.js" ,
1414 "watch" : " tsc -watch -p ./"
1515 },
Original file line number Diff line number Diff line change 792792 "watch" : " tsc -watch -p ./" ,
793793 "pretest" : " npm run compile" ,
794794 "test" : " mocha out/tests/**/*.test.js" ,
795- "ciTest" : " npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
795+ "ciTest" : " node ../ensure-testresults-directory.js && npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
796796 "testDebug" : " mocha out/tests/**/*.test.js" ,
797797 "tdd" : " npm test -- --watch" ,
798798 "package" : " npx @vscode/vsce package --pre-release" ,
Original file line number Diff line number Diff line change 796796 "watch" : " tsc -watch -p ./" ,
797797 "pretest" : " npm run compile" ,
798798 "test" : " mocha out/tests/**/*.test.js" ,
799- "ciTest" : " npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
799+ "ciTest" : " node ../ensure-testresults-directory.js && npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json" ,
800800 "testDebug" : " mocha out/tests/**/*.test.js" ,
801801 "tdd" : " npm test -- --watch" ,
802802 "package" : " npx @vscode/vsce package" ,
Original file line number Diff line number Diff line change 1919 "pretest" : " npm run compile && npm run lint" ,
2020 "test" : " mocha tests/**/*.test.ts" ,
2121 "testDebug" : " mocha tests/**/*.test.ts" ,
22- "ciTest" : " npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json"
22+ "ciTest" : " node ../ensure-testresults-directory.js && npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json"
2323 },
2424 "mocha" : {
2525 "ui" : " bdd" ,
You can’t perform that action at this time.
0 commit comments