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 GitHub
parent 06abb702f5
commit 248cd9a8ab
38 changed files with 138 additions and 98 deletions

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');