Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(jest): add integration test package to test jest config setup
with a11y matcher api Fixes #11
- Loading branch information
Mohan Raj Rajamanickam
committed
May 7, 2020
1 parent
36b0087
commit cbbe288
Showing
8 changed files
with
22 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright (c) 2020, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
// Since this is not a typescript project, disabling typescript eslint warning | ||
// TODO (lint): using 'exclude: ["./packages/test-integ/**/*.js"]' in tsconfig.eslint.json doesn't work | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const { registerA11yMatchers } = require('@sa11y/jest'); | ||
|
||
registerA11yMatchers(); |
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,4 +1,4 @@ | ||
{ | ||
"compilerOptions": { "strict": true }, | ||
"include": ["*.js", "./packages/**/*.ts", "./packages/**/*.js"] | ||
"include": ["*.js", "./packages/**/*.ts", "./packages/test-integ/**/*.js"] | ||
} |