mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 19:02:23 +08:00
refactor: remove esm module (#1077)
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { WorkspaceUnitCollection } from '../../workspace-unit-collection.js';
|
||||
import { LocalProvider } from './local.js';
|
||||
import { createBlocksuiteWorkspace } from '../../utils/index.js';
|
||||
import { MessageCenter } from '../../message/index.js';
|
||||
import { test, describe, expect } from 'vitest';
|
||||
import { WorkspaceUnitCollection } from '../../workspace-unit-collection';
|
||||
import { LocalProvider } from './local';
|
||||
import { MessageCenter } from '../../message';
|
||||
import 'fake-indexeddb/auto';
|
||||
|
||||
test.describe.serial('local provider', () => {
|
||||
describe('local provider', () => {
|
||||
const workspaceMetaCollection = new WorkspaceUnitCollection();
|
||||
const provider = new LocalProvider({
|
||||
workspaces: workspaceMetaCollection.createScope(),
|
||||
|
||||
Reference in New Issue
Block a user