diff --git a/__tests__/spelling.js b/__tests__/spelling.js index 0a0d4d5db1..1d0a166ff9 100755 --- a/__tests__/spelling.js +++ b/__tests__/spelling.js @@ -109,7 +109,7 @@ function getCuratedMarkdownBody(body, options = {}) { * @returns {String[]} */ function getSpellIgnored() { - const ignoreConfigured = yaml.safeLoad(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8')) + const ignoreConfigured = yaml.safeLoad(fs.readFileSync('./__tests__/spelling-ignore.yml', 'utf8'), {schema: yaml.FAILSAFE_SCHEMA}) //added schema due to entries starting with a non-zero digit /* Building spelling exception in the shape FOOxxx where xxx is a number.