-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into caip-multichain
- Loading branch information
Showing
9 changed files
with
154 additions
and
127 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
// include JS, TS, JSX, TSX files only excluding files in the e2e tests and | ||
// fitness functions directories | ||
const EXCLUDE_E2E_TESTS_REGEX = | ||
'^(?!test/e2e)(?!development/fitness|development/webpack).*.(js|ts|jsx|tsx)$'; | ||
// include JS, TS, JSX, TSX files only in the | ||
// test/e2e | ||
// development/fitness-functions | ||
// development/webpack directories | ||
const E2E_TESTS_REGEX = | ||
/^(test\/e2e|development\/fitness-functions|development\/webpack).*\.(js|ts|jsx|tsx)$/u; | ||
|
||
// include JS and JSX files in the shared directory only | ||
const SHARED_FOLDER_JS_REGEX = '^(shared).*.(js|jsx)$'; | ||
// include JS and JSX files only in the app, offscreen, shared, and ui directories | ||
const JS_REGEX = /^(app|offscreen|shared|ui)\/.*\.(js|jsx)$/u; | ||
|
||
enum AUTOMATION_TYPE { | ||
CI = 'ci', | ||
PRE_COMMIT_HOOK = 'pre-commit-hook', | ||
PRE_PUSH_HOOK = 'pre-push-hook', | ||
} | ||
|
||
export { EXCLUDE_E2E_TESTS_REGEX, SHARED_FOLDER_JS_REGEX, AUTOMATION_TYPE }; | ||
export { E2E_TESTS_REGEX, JS_REGEX, AUTOMATION_TYPE }; |
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
Oops, something went wrong.