allow-list options
This commit is contained in:
parent
9c544f60d0
commit
1a0919d69c
|
|
@ -184,11 +184,17 @@ export class TeleReporterEmitter implements ReporterV2 {
|
|||
dependencies: project.dependencies,
|
||||
snapshotDir: this._relativePath(project.snapshotDir),
|
||||
teardown: project.teardown,
|
||||
use: project.use,
|
||||
use: this._serializeProjectUseOptions(project.use),
|
||||
};
|
||||
return report;
|
||||
}
|
||||
|
||||
private _serializeProjectUseOptions(use: reporterTypes.FullProject['use']): Record<string, any> {
|
||||
return {
|
||||
testIdAttribute: use.testIdAttribute,
|
||||
}
|
||||
}
|
||||
|
||||
private _serializeSuite(suite: reporterTypes.Suite): teleReceiver.JsonSuite {
|
||||
const result = {
|
||||
title: suite.title,
|
||||
|
|
|
|||
Loading…
Reference in a new issue