diff options
Diffstat (limited to 'devtools/shared/storage/vendor/stringvalidator/tests/xpcshell/head_stringvalidator.js')
-rw-r--r-- | devtools/shared/storage/vendor/stringvalidator/tests/xpcshell/head_stringvalidator.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devtools/shared/storage/vendor/stringvalidator/tests/xpcshell/head_stringvalidator.js b/devtools/shared/storage/vendor/stringvalidator/tests/xpcshell/head_stringvalidator.js new file mode 100644 index 0000000000..f1e25fe2ec --- /dev/null +++ b/devtools/shared/storage/vendor/stringvalidator/tests/xpcshell/head_stringvalidator.js @@ -0,0 +1,15 @@ +"use strict"; + +const { require } = ChromeUtils.importESModule("resource://devtools/shared/loader/Loader.sys.mjs"); + +this.validator = require("resource://devtools/shared/storage/vendor/stringvalidator/validator.js"); + +function describe(suite, testFunc) { + info(`\n Test suite: ${suite}`.toUpperCase()); + testFunc(); +} + +function it(description, testFunc) { + info(`\n - ${description}:\n`.toUpperCase()); + testFunc(); +} |