mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
refactor: remove NoSsr on top level (#1951)
This commit is contained in:
@@ -40,7 +40,14 @@ export const test = baseTest.extend({
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
for (const page of context.pages()) {
|
||||
await page.evaluate(() => window.localStorage.clear());
|
||||
await page.evaluate(() => window.sessionStorage.clear());
|
||||
}
|
||||
|
||||
await use(context);
|
||||
|
||||
if (enableCoverage) {
|
||||
for (const page of context.pages()) {
|
||||
await page.evaluate(() =>
|
||||
|
||||
Reference in New Issue
Block a user