style: add ban-ts-comment rule (#2738)

This commit is contained in:
LongYinan authored and GitHub committed 2023-06-09 11:55:23 +08:00
1 parent c5a295a87b
commit 2e975e79dd
16 files changed
+139 -91

No files matched your search

-1
View File
@@ -116,7 +116,6 @@ export async function loginUser(
}
) {
await page.evaluate(async token => {
// @ts-ignore
globalThis.setLogin(token);
}, token);
}
-1
View File
@@ -5,7 +5,6 @@ test('should have page0', async ({ page }) => {
await page.goto('http://localhost:8080/_debug/init-page');
await page.waitForSelector('v-line');
const pageId = await page.evaluate(async () => {
// @ts-ignore
return globalThis.page.id;
});
expect(pageId).toBe('page0');