1 | // Load in our dependencies
|
2 | var assert = require('assert');
|
3 |
|
4 | // Start our tests
|
5 | // DEV: We run multiple times via `npm`
|
6 | describe('A Karma test that runs multiple times', function () {
|
7 | it('does not use the same user data', function () {
|
8 | localStorage.foo = 'bar';
|
9 | assert.strictEqual(localStorage.foo, 'bar');
|
10 | assert.strictEqual(localStorage.hello, undefined);
|
11 | localStorage.hello = 'world';
|
12 | });
|
13 | });
|