-
Notifications
You must be signed in to change notification settings - Fork 83
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 #1715 from IBMa/jest-extension-test
chore(extension): Add jest testing to the extension
- Loading branch information
Showing
14 changed files
with
3,011 additions
and
2,094 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module.exports = { | ||
// optional - Specify the rule archive | ||
// Default: latest | ||
// Run `npx achecker archives` for a list of valid ruleArchive ids and policy ids | ||
ruleArchive: '12October2023', | ||
|
||
// optional - Specify one or many policies to scan. | ||
// Run `npx achecker archives` for a list of valid ruleArchive ids and policy ids | ||
policies: [ "IBM_Accessibility"], | ||
|
||
// optional - Specify one or many violation levels on which to fail the test | ||
// i.e. If specified violation then the testcase will only fail if | ||
// a violation is found during the scan. | ||
// i.e. failLevels: ["violation"] | ||
// i.e. failLevels: ["violation","potential violation"] or refer to below as a list | ||
// Default: ["violation","potential violation"] | ||
failLevels: [ "violation" ], | ||
|
||
// optional - Specify one or many violation levels which should be reported | ||
// i.e. If specified violation then in the report it would only contain | ||
// results which are level of violation. | ||
// i.e. reportLevels: ["violation"] | ||
// Valid values: violation, potentialviolation, recommendation, potentialrecommendation, manual | ||
// Default: ["violation","potential violation"] | ||
reportLevels: [ | ||
"violation" | ||
], | ||
|
||
// Optional - Which type should the results be outputted to | ||
// Valid values: json, csv, disable | ||
// Default: json | ||
outputFormat: [ "json" ], | ||
|
||
// Optional - Specify labels that you would like associated to your scan | ||
// | ||
// i.e. | ||
// label: ["Firefox","master","V12","Linux"] | ||
// Default: N/A | ||
label: [], | ||
|
||
// optional - Where the scan results should be saved. | ||
// Default: results | ||
outputFolder: ".achecker/results", | ||
|
||
// optional - Where the baseline results should be loaded from | ||
// Default: baselines | ||
baselineFolder: ".achecker/baselines", | ||
} |
Oops, something went wrong.