chore: migrate test cases from Chai to Jest

This commit is contained in:
Harttle
2023-03-20 00:41:06 +08:00
committed by Jun Yang
parent dccb90c591
commit c6cde9cd10
97 changed files with 8163 additions and 26440 deletions
-12
View File
@@ -1,12 +0,0 @@
import { Emitter } from './emitter'
export class StreamedEmitter implements Emitter {
public buffer = '';
public stream: NodeJS.ReadableStream = null as any
constructor () {
throw new Error('streaming not supported in browser')
}
public write: (html: any) => void
public error: (err: Error) => void
public end: () => void
}