chore: prohibit import package itself (#2612)

Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
Himself65
2023-05-31 15:00:50 +08:00
committed by himself65
parent ab56d15f7b
commit 877b78b0a3
38 changed files with 138 additions and 98 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
/**
* @vitest-environment happy-dom
*/
import { DebugLogger } from '@affine/debug';
import { describe, expect, test, vi } from 'vitest';
import { DebugLogger } from '..';
describe('debug', () => {
test('disabled', () => {
const logger = new DebugLogger('test');