Browse Source

fix(test): unused imports

Andelf 4 years ago
parent
commit
0f650741a8
3 changed files with 3 additions and 3 deletions
  1. 1 1
      e2e-tests/basic.spec.ts
  2. 1 1
      e2e-tests/code-editing.spec.ts
  3. 1 1
      e2e-tests/hotkey.spec.ts

+ 1 - 1
e2e-tests/basic.spec.ts

@@ -1,6 +1,6 @@
 import { expect } from '@playwright/test'
 import { test } from './fixtures'
-import { randomString, createRandomPage, openSidebar, newBlock, lastBlock } from './utils'
+import { randomString, createRandomPage, newBlock } from './utils'
 
 
 test('render app', async ({ page }) => {

+ 1 - 1
e2e-tests/code-editing.spec.ts

@@ -1,6 +1,6 @@
 import { expect } from '@playwright/test'
 import { test } from './fixtures'
-import { createRandomPage, newBlock, lastBlock, appFirstLoaded, IsMac, IsLinux, escapeToCodeEditor, escapeToBlockEditor } from './utils'
+import { createRandomPage, escapeToCodeEditor, escapeToBlockEditor } from './utils'
 
 /**
  * NOTE: CodeMirror is a complex library that requires a lot of setup to work.

+ 1 - 1
e2e-tests/hotkey.spec.ts

@@ -1,6 +1,6 @@
 import { expect } from '@playwright/test'
 import { test } from './fixtures'
-import { createRandomPage, newBlock, lastBlock, appFirstLoaded, IsMac, IsLinux } from './utils'
+import { createRandomPage, newBlock, lastBlock, IsMac, IsLinux } from './utils'
 
 test('open search dialog', async ({ page }) => {
   if (IsMac) {