Skip to content

Commit

Permalink
chore: update test assestion for context.getCwd()
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Apr 29, 2023
1 parent 11a7e06 commit 108e149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/linter/linter.js
Expand Up @@ -3947,6 +3947,7 @@ var a = "test2";
linterWithOption.defineRule("checker", {
create(context) {
spy = sinon.spy(() => {
assert.strictEqual(context.getCwd(), context.cwd);
assert.strictEqual(context.cwd, cwd);
});
return { Program: spy };
Expand Down

0 comments on commit 108e149

Please sign in to comment.