We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
output
1 parent fe637d5 commit f580667Copy full SHA for f580667
test/rules/index.js
@@ -80,6 +80,9 @@ const ruleTester = new RuleTester();
80
if (assertion.errors) {
81
throw new Error(`Valid assertions for rule ${ruleName} should not have an \`errors\` array.`);
82
}
83
+ if (assertion.output) {
84
+ throw new Error(`Valid assertions for rule ${ruleName} should not have an \`output\` property.`);
85
+ }
86
assertion.parserOptions = _.defaultsDeep(assertion.parserOptions, parserOptions);
87
88
return assertion;
0 commit comments