UNPKG

416 BJavaScriptView Raw
1// Load in our dependencies
2var assert = require('assert');
3
4// Start our tests
5// DEV: We run multiple times via `npm`
6describe('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});