Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
using a dedicated settings file for test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 3, 2019
1 parent 393f901 commit 6c47eed
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
"--user-data-dir=${workspaceFolder}/.vscode-test/user"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
"preLaunchTask": "npm: watch"
"preLaunchTask": "npm: watch",
"env": {
"CODE_TESTS_DATA_DIR": "${workspaceFolder}/.vscode-test/user"
}
}
]
}
18 changes: 17 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"pretest": "npm run compile",
"test": "cross-env CODE_TESTS_DATA_DIR=./.test-profiles/tests/data node ./node_modules/vscode/bin/test",
"test:ci": "node ./node_modules/vscode/bin/test",
"package": "npx vsce package",
"publish": "npx vsce publish",
Expand All @@ -116,6 +117,7 @@
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"mocha-multi-reporters": "^1.1.7",
Expand Down

0 comments on commit 6c47eed

Please # to comment.