Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

Location:
imaps-frontend/node_modules/is-async-function/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/is-async-function/test/index.js

    r0c6b92a r79a0317  
    99var hasToStringTag = require('has-tostringtag/shams')();
    1010
    11 var forEach = function (arr, func) {
    12         var i;
    13         for (i = 0; i < arr.length; ++i) {
    14                 func(arr[i], i, arr);
    15         }
    16 };
     11var forEach = require('for-each');
    1712
    1813test('returns false for non-functions', function (t) {
     
    7570test('returns false for non-async function with faked @@toStringTag', { skip: !hasToStringTag || asyncFuncs.length === 0 }, function (t) {
    7671        var asyncFunc = asyncFuncs[0];
     72        /** @type {{ toString(): unknown; valueOf(): unknown; [Symbol.toStringTag]?: unknown }} */
    7773        var fakeAsyncFunction = {
    7874                toString: function () { return String(asyncFunc); },
  • imaps-frontend/node_modules/is-async-function/test/uglified.js

    r0c6b92a r79a0317  
    11'use strict';
    22
     3// @ts-expect-error
    34require('uglify-register/api').register({
    45        exclude: [/\/node_modules\//, /\/test\//],
Note: See TracChangeset for help on using the changeset viewer.