UNPKG

testplane

Version:

Tests framework based on mocha and wdio

12 lines 380 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.restoreStorage = void 0; const restoreStorage = (data, type) => { const storage = window[type]; storage.clear(); Object.keys(data).forEach(key => { storage.setItem(key, data[key]); }); }; exports.restoreStorage = restoreStorage; //# sourceMappingURL=restoreStorage.js.map