push
travis-ci
2 of 6 branches covered (33.33%)
16 of 19 relevant lines covered (84.21%)
2.0 hits per line
1 |
describe('sessionStorage', function () { |
5✔ |
2 |
'use strict';
|
|
3 |
|
|
4 |
var assume = require('assume') |
5✔ |
5 |
, sessionStorage = require('./');
|
|
6 |
|
|
7 |
it('is exported as object', function () { |
2 only 65.1 and 65.2 ✔ |
8 |
assume(sessionStorage).is.a('object');
|
2 only 65.1 and 65.2 ✔ |
9 |
}); |
|
10 |
|
|
11 |
it('as the API methods', function () { |
2 only 65.1 and 65.2 ✔ |
12 |
assume(sessionStorage.getItem).is.a('function');
|
2 only 65.1 and 65.2 ✔ |
13 |
assume(sessionStorage.setItem).is.a('function');
|
2 only 65.1 and 65.2 ✔ |
14 |
assume(sessionStorage.removeItem).is.a('function');
|
2 only 65.1 and 65.2 ✔ |
15 |
assume(sessionStorage.clear).is.a('function');
|
2 only 65.1 and 65.2 ✔ |
16 |
assume(sessionStorage.length).is.a('number');
|
2 only 65.1 and 65.2 ✔ |
17 |
}); |
|
18 |
}); |