Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 8eea750

Browse files
committed
Clear cookies before each cookie test
This seems to fix flaky tests on SauceLabs. Ref LIB-354
1 parent 94ba133 commit 8eea750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cookie.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var assert = require('proclaim');
44
var cookie = require('../lib').constructor.cookie;
55

66
describe('cookie', function() {
7-
before(function() {
7+
beforeEach(function() {
88
// Just to make sure that
99
// URIError is never thrown here.
1010
document.cookie = 'bad=%';

0 commit comments

Comments
 (0)