Skip to content

Commit

Permalink
feat: make all backends node streams
Browse files Browse the repository at this point in the history
this greatly simplifies the code

closes #128
  • Loading branch information
dvirtz committed Jul 31, 2024
1 parent f44d3c8 commit 84f6963
Show file tree
Hide file tree
Showing 20 changed files with 308 additions and 17,083 deletions.
76 changes: 19 additions & 57 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Unit test",
"args": "./test/unit/backend.test.ts",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
// "runtimeExecutable": "tsx",
"runtimeArgs": [
"--import",
"tsx",
"--import",
"./test/unit/automocks.ts",
"--test-name-pattern",
"parquet-tools backend tests supports cancellation",
"--test"
]
},
{
"name": "Extension Tests",
"type": "extensionHost",
Expand Down Expand Up @@ -45,36 +64,6 @@
],
"trace": true
},
{
"type": "node",
"name": "vscode-jest-tests.v2",
"request": "launch",
"args": [
"--runInBand",
"--watchAll=false",
"--config",
"test/unit/jest.config.ts",
"--testNamePattern",
"${jest.testNamePattern}",
"--runTestsByPath",
"${jest.testFile}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"env": {
"DEBUG_MODE": "TRUE"
},
"outFiles": [
"${workspaceFolder}/**/*.js",
"!**/node_modules/**",
"${workspaceFolder}/node_modules/apache-arrow/**/*.js"
]
},
{
"name": "vsce",
"program": "${workspaceFolder}/node_modules/@vscode/vsce/vsce",
Expand Down Expand Up @@ -102,33 +91,6 @@
}
},
},
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "node",
"args": [
"${workspaceFolder}/node_modules/jest/bin/jest",
"test/unit/arrow-backend.test.ts"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "DEBUG_MODE",
"value": "TRUE"
}
],
"console": "externalTerminal",
"presentation": {
"hidden": true
},
"windows": {
"presentation": {
"hidden": false,
}
},
},
{
"name": "Conan Install",
"type": "debugpy",
Expand Down
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,11 @@
"./automocks.ts"
]
}
]
],
"[typescript]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
}
}
Loading

0 comments on commit 84f6963

Please sign in to comment.