Skip to content

Commit

Permalink
improve tests (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem authored Sep 12, 2024
1 parent 2802f5c commit 0fefeb5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/expect-expect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,20 @@ ruleTester.run(RULE_NAME, rule, {
assert.notEqual(cleanPrCommitTitle('Something done (fixes #123)', 123), clean);
assert.notEqual(cleanPrCommitTitle('Something done (#23454)', 123), clean);
});`
});`,
`import { it as base } from 'vitest'
const it = base.extend<{
foo: string,
bar: string
} >({
async foo({}, use) {
await use('foo')
},
async bar({}, use) {
await use('bar')
}
})`
],
invalid: [
{
Expand Down

0 comments on commit 0fefeb5

Please sign in to comment.