Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ generate
Function
generate
test/fixtures/test-runner/output/test-runner-plan.js:93–97 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
91
92
test(
'planning with streams'
, (t, done) => {
93
function
* generate() {
94
yield
'a'
;
95
yield
'b'
;
96
yield
'c'
;
97
}
98
const
expected = [
'a'
,
'b'
,
'c'
];
99
t.plan(expected.length);
100
const
stream = Readable.from(generate());
Callers
1
test-runner-plan.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected