Skip to content

Commit

Permalink
Ignore testing delete rules
Browse files Browse the repository at this point in the history
  • Loading branch information
zabil committed Aug 29, 2024
1 parent 7c1b4c7 commit ec0ec2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unit-tests/browserLauncher.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe("OpenBrowser", () => {
"--test-arg3",
];
expect(testArgs).to.include.members(expectedArgs);
// biome-ignore lint: Required for testing
delete process.env.TAIKO_BROWSER_ARGS;
});
});
Expand Down
1 change: 1 addition & 0 deletions test/unit-tests/elements/checkBox.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ describe("CheckBox", () => {
afterEach(() => {
CheckBox = rewire("../../../lib/elements/checkBox");
dispatchedEvent = null;
// biome-ignore lint: Required for testing
delete Object.prototype.checked;
});

Expand Down
1 change: 1 addition & 0 deletions test/unit-tests/elements/radioButton.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ describe("RadioButton", () => {
afterEach(() => {
RadioButton = rewire("../../../lib/elements/radioButton");
dispatchedEvent = null;
// biome-ignore lint: Required for testing
delete Object.prototype.checked;
});

Expand Down
1 change: 1 addition & 0 deletions test/unit-tests/plugins.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe("Plugins", () => {
}
describe("With ENV variable", () => {
afterEach(() => {
// biome-ignore lint: Required for testing
delete process.env.TAIKO_PLUGIN;
});
it("should give plugin name from ENV variable", () => {
Expand Down

0 comments on commit ec0ec2a

Please sign in to comment.