This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from trufflesuite/develop
`2.5.0` release into `master`
- Loading branch information
Showing
87 changed files
with
1,656 additions
and
1,512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## PR description | ||
|
||
<!-- Enter PR description here --> | ||
|
||
## Documentation | ||
|
||
- [ ] I thought about documentation and added the `doc-change-required` label to this PR if documentation updates are required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,4 @@ jobs: | |
run: yarn eslint | ||
|
||
- name: Tests | ||
run: yarn test | ||
run: yarn test:int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
run: yarn install --immutable --immutable-cache --check-cache | ||
|
||
- name: run tests | ||
run: yarn test | ||
run: yarn test:int | ||
|
||
- name: update metadata in package.json | ||
uses: onlyutkarsh/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* This configuration[1] is used when `mocha` is invoked directly | ||
* from the command line. | ||
* | ||
* Note that this configuration does not affect tests | ||
* when they are executed through `runTests`. | ||
* | ||
* [1] https://mochajs.org/#configuring-mocha-nodejs | ||
*/ | ||
module.exports = { | ||
/** | ||
* From `mocha -h` | ||
* | ||
* ```txt | ||
* --require, -r Require module [array] [default: (none)] | ||
* ``` | ||
*/ | ||
require: [ | ||
// We use `ts-node/register`[1] to run our tests without compiling them. | ||
// | ||
// [1] https://typestrong.org/ts-node/docs/recipes/mocha/#mocha-7-and-newer. | ||
'ts-node/register', | ||
|
||
// This option is used to provide a drop-in replacement for the `vscode` module. | ||
// When running `mocha` tests without a VS Code Development Extension Host[1], | ||
// the `vscode` module is not available, so we need to provide a test replacement. | ||
// | ||
// See `test/vscode-register.ts` for more details on how this is implemented. | ||
// | ||
// This answer[2]'s 'bonus track' section was used as a inspiration for this method, | ||
// to run code before the tests begin. | ||
// | ||
// [1] https://code.visualstudio.com/api/working-with-extensions/testing-extension | ||
// [2] https://stackoverflow.com/questions/10561598/global-before-and-beforeeach-for-mocha/51152004#51152004 | ||
'test/vscode-register.ts', | ||
], | ||
|
||
/** | ||
* From `mocha -h` | ||
* | ||
* ```txt | ||
* spec One or more files, directories, or globs to test | ||
* [array] [default: ["test"]] | ||
* ``` | ||
*/ | ||
spec: [ | ||
// These are the same test files covered by the VS Code Host test runner. | ||
'test/**/*.test.ts', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.