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

Commit df375b7

Browse files
authored
Merge pull request #84 from fathyb/fix/flaky-cookie-tests
Clear cookies before each cookie test
2 parents 6cea707 + 8eea750 commit df375b7

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)