Skip to content

Commit

Permalink
parser: add closingTestPoint flag to Result
Browse files Browse the repository at this point in the history
This is set to true when the Result represents the closing test point
for a subtest, which is required when serializing for node --test, so
that closing test points for subtests are not double-reported.
  • Loading branch information
isaacs committed Oct 11, 2023
1 parent ee4c50a commit fd38e59
Show file tree
Hide file tree
Showing 319 changed files with 13,468 additions and 70 deletions.
4 changes: 2 additions & 2 deletions src/core/dist/commonjs/test-base.d.ts
Expand Up @@ -11,7 +11,7 @@ import { Result, TestPoint } from './test-point.js';
import { Waiter } from './waiter.js';
import { Worker } from './worker.js';
import { IMPLICIT } from './implicit-end-sigil.js';
import { Counts, Extra, MessageExtra, TapBaseEvents, TapFile } from './index.js';
import { Extra, MessageExtra, TapBaseEvents, TapFile } from './index.js';
/**
* Options that can be passed to TestBase objects
*/
Expand Down Expand Up @@ -223,7 +223,7 @@ export declare class TestBase extends Base<TestBaseEvents> {
*
* @group Test Reflection
*/
get assertTotals(): Counts;
get assertTotals(): import("./counts.js").Counts;
/**
* true if the test has printed at least one TestPoint
*
Expand Down
2 changes: 1 addition & 1 deletion src/core/dist/commonjs/test-base.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/dist/commonjs/test-base.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/core/dist/esm/test-base.d.ts
Expand Up @@ -11,7 +11,7 @@ import { Result, TestPoint } from './test-point.js';
import { Waiter } from './waiter.js';
import { Worker } from './worker.js';
import { IMPLICIT } from './implicit-end-sigil.js';
import { Counts, Extra, MessageExtra, TapBaseEvents, TapFile } from './index.js';
import { Extra, MessageExtra, TapBaseEvents, TapFile } from './index.js';
/**
* Options that can be passed to TestBase objects
*/
Expand Down Expand Up @@ -223,7 +223,7 @@ export declare class TestBase extends Base<TestBaseEvents> {
*
* @group Test Reflection
*/
get assertTotals(): Counts;
get assertTotals(): import("./counts.js").Counts;
/**
* true if the test has printed at least one TestPoint
*
Expand Down
2 changes: 1 addition & 1 deletion src/core/dist/esm/test-base.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/dist/esm/test-base.js.map

Large diffs are not rendered by default.

0 comments on commit fd38e59

Please sign in to comment.