@trackunit/iris-app-playwright 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,6 +31,8 @@ const hydrateStorageState = async (context, state) => {
|
|
|
31
31
|
}
|
|
32
32
|
for (const { name, value } of match.localStorage) {
|
|
33
33
|
try {
|
|
34
|
+
// TODO: playwright fixture — this file was exempted when the no-direct-storage-access rule was introduced; hooks are not usable in addInitScript context
|
|
35
|
+
// eslint-disable-next-line no-restricted-properties
|
|
34
36
|
window.localStorage.setItem(name, value);
|
|
35
37
|
}
|
|
36
38
|
catch {
|