MCPcopy
hub / github.com/mongodb/node-mongodb-native / toJSON

Method toJSON

test/tools/unified_suite_builder.ts:47–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 toJSON(): Test {
48 const test: Test = {
49 description: this._description,
50 runOnRequirements: this.runOnRequirements,
51 operations: this._operations,
52 expectEvents: this._expectEvents,
53 outcome: this._outcome
54 };
55
56 if (this._skipReason != null) {
57 test.skipReason = this._skipReason;
58 }
59
60 return test;
61 }
62}
63
64export class UnifiedTestSuiteBuilder {

Calls

no outgoing calls

Tested by

no test coverage detected