事件:'test:stdout'
🌐 Event: 'test:stdout'
data<Object>entryFile<string> | <undefined> 作为触发此事件的子进程入口点执行的测试文件的路径。只有在使用进程隔离运行测试时才会出现。file<string> 测试文件的路径。message<string> 写给stdout的信息。
当正在运行的测试写入 stdout 时触发。
只有在传递了 --test 标志时才会触发此事件。
此事件不能保证按测试定义的顺序触发。
🌐 Emitted when a running test writes to stdout.
This event is only emitted if --test flag is passed.
This event is not guaranteed to be emitted in the same order as the tests are
defined.