thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function_nonIterableRest(){
thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
Logger.warn('The `'+hookName+'` hook was called inside the wrong module (`'+config.currentModule.name+'`). '+'Instead, use hooks provided by the callback to the containing module (`'+module.name+'`). '+'This will become an error in QUnit 3.0.');
Logger.warn('Returning a promise from a module callback is not supported. '+'Instead, use hooks for async behavior. '+'This will become an error in QUnit 3.0.');
}
}finally{
// If the module closure threw an uncaught error during the load phase,
// we let this bubble up to global error handlers. But, not until after
// we teardown internal state to ensure correct module nesting.
Logger.warn('assert.push is deprecated and will be removed in QUnit 3.0.'+' Please use assert.pushResult instead (https://api.qunitjs.com/assert/pushResult).');
// 'expected' is optional unless doing string comparison
if(expectedType==='string'){
if(message===undefined){
message=expected;
expected=undefined;
return[expected,message];
}else{
thrownewError('assert.'+assertionMethod+' does not accept a string value for the expected argument.\n'+'Use a non-string object value (e.g. RegExp or validator function) '+'instead if necessary.');
thrownewError('Could not dynamically require "'+path+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
}
varpromisePolyfill={exports:{}};
(function(){
/** @suppress {undefinedVars} */
varglobalNS=function(){
// the only reliable means to get the global object is
// `Function('return this')()`
// However, this causes CSP violations in Chrome apps.
if(typeofglobalThis!=='undefined'){
returnglobalThis;
}
if(typeofself!=='undefined'){
returnself;
}
if(typeofwindow!=='undefined'){
returnwindow;
}
if(typeofcommonjsGlobal!=='undefined'){
returncommonjsGlobal;
}
thrownewError('unable to locate global object');
}();
// Expose the polyfill if Promise is undefined or set to a
// non-function value. The latter can be due to a named HTMLElement
// Release the timeout and timeout callback references to be garbage collected.
// https://github.com/qunitjs/qunit/pull/1708
if(setTimeout$1){
clearTimeout(this.timeout);
config.timeoutHandler=null;
}
// Release the test callback to ensure that anything referenced has been
// released to be garbage collected.
this.callback=undefined;
if(this.steps.length){
varstepsList=this.steps.join(', ');
this.pushFailure('Expected assert.verifySteps() to be called before end of test '+"after using assert.step(). Unverified steps: ".concat(stepsList),this.stack);
}
if(config.requireExpects&&this.expected===null){
this.pushFailure('Expected number of assertions to be defined, but expect() was '+'not called.',this.stack);
message+="<tr class='test-message'><th>Message: </th><td>"+'Diff suppressed as the depth of object is more than current max depth ('+QUnit.config.maxDepth+').<p>Hint: Use <code>QUnit.dump.maxDepth</code> to '+" run with a higher max depth or <a href='"+escapeText(setUrl({
maxDepth:-1
}))+"'>"+'Rerun</a> without max depth.</p></td></tr>';
}else{
message+="<tr class='test-message'><th>Message: </th><td>"+'Diff suppressed as the expected and actual results have an equivalent'+' serialization</td></tr>';