GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix doc for correct usage with plan & TestContext · nodejs/node@2cf6096

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • test.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/test.md‎

Copy file name to clipboardExpand all lines: doc/api/test.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3412,9 +3412,9 @@ behaves in the same fashion as the top level [`test()`][] function.
34123412
test('top level test', async (t) => {
34133413
await t.test(
34143414
'This is a subtest',
3415-
{ only: false, skip: false, concurrency: 1, todo: false, plan: 4 },
3415+
{ only: false, skip: false, concurrency: 1, todo: false, plan: 1 },
34163416
(t) => {
3417-
assert.ok('some relevant assertion here');
3417+
t.assert.ok('some relevant assertion here');
34183418
},
34193419
);
34203420
});

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.