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.
RuleTester.test.ts
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rule-tester
// packages/rule-tester/tests/RuleTester.test.ts it('passes with no output', () => { expect(() => { ruleTester.run('my-rule', rule, { invalid: [ { code: 'foo', errors: [{ messageId: 'error' }], }, ], valid: [], }); }).not.toThrow(); }); it('passes with null output', () => { expect(() => { ruleTester.run('my-rule', rule, { invalid: [ { code: 'foo', errors: [{ messageId: 'error' }], }, ], valid: [], }); }).not.toThrow(); });
These two test cases have almost the same meaning and are written in exactly the same code.
it('passes with null output', () => { expect(() => { ruleTester.run('my-rule', rule, { invalid: [ { code: 'foo', errors: [{ messageId: 'error' }], output: null, }, ], valid: [], }); }).not.toThrow(); });
❤ Is this an issue with repo maintainance?
repo maintainance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Before You File a Proposal Please Confirm You Have Done The Following...
Relevant Package
rule-tester
My proposal is suitable for this project
Description
These two test cases have almost the same meaning and are written in exactly the same code.
OR
OR
Additional Info
❤
Is this an issue with
repo maintainance
?The text was updated successfully, but these errors were encountered: