Skip to content

Commit

Permalink
Update test/parallel/test-structuredClone-global.js
Browse files Browse the repository at this point in the history
Co-authored-by: jakecastelli <38635403+jakecastelli@users.noreply.github.com>
  • Loading branch information
jazelly and jakecastelli authored Oct 1, 2024
1 parent e91bfab commit 39381ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-structuredClone-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for (const StreamClass of [ReadableStream, WritableStream, TransformStream]) {
].forEach((platformEntity) => {
assert.throws(() => structuredClone(new platformEntity.platformClass(platformEntity.value)),
new DOMException('Cannot clone object of unsupported type.', 'DataCloneError'),
`Cloning ${platformEntity.message} should throw DOMException`);
`Cloning ${platformEntity.brand} should throw DOMException`);

});

Expand Down

0 comments on commit 39381ba

Please sign in to comment.