(storedString, experimentId)
| 132 | }); |
| 133 | |
| 134 | function expectExperiment(storedString, experimentId) { |
| 135 | resetExperimentTogglesForTesting(win); |
| 136 | win.localStorage.setItem('amp-experiment-toggles', storedString); |
| 137 | // eslint-disable-next-line chai-expect/missing-assertion |
| 138 | return expect(isExperimentOn(win, /*OK*/ experimentId)); |
| 139 | } |
| 140 | |
| 141 | describe('with only cookie flag', () => { |
| 142 | it('should return "off" with no cookies, malformed or empty', () => { |
no test coverage detected