We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
structuredClone()
1 parent 6e25dca commit eb80381Copy full SHA for eb80381
2 files changed
spec/core/SpecSpec.js
@@ -114,6 +114,10 @@ describe('Spec', function() {
114
});
115
116
it('throws if the value is not structured-cloneable', function() {
117
+ if (typeof structuredClone === 'undefined') {
118
+ pending('This test requires native structuredClone');
119
+ }
120
+
121
const spec = new privateUnderTest.Spec({
122
queueableFn: { fn: () => {} }
123
spec/core/SuiteSpec.js
@@ -416,6 +416,10 @@ describe('Suite', function() {
416
417
418
419
420
421
422
423
const suite = new privateUnderTest.Suite({});
424
425
expect(function() {
0 commit comments