{"_id":"edgeworkers-mocha-mocks","_rev":"27-566ab4527c3a4a070c115cea2b7c69a5","name":"edgeworkers-mocha-mocks","dist-tags":{"latest":"1.0.32"},"versions":{"1.0.11":{"name":"edgeworkers-mocha-mocks","version":"1.0.11","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.11","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"c8eaffd61fec367c944ec74ec8966fd2d4b5cbd1","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.11.tgz","fileCount":15,"integrity":"sha512-czaUOVft9lHHhKg6RD2YOBfM9PwlJRJrQ5Wtx0RpiEynz1xRawrtJCVA5edi8IfgNGoi8r/11lPmAC7aqF+lsQ==","signatures":[{"sig":"MEUCIQDSEj0b0uGXcmqLNNw05hXs2pmMj1P0zGW19rhChWxUMAIgUzAPZTrRAeKvLQ394sp7nA0bEdURpqxIWA/3fh6v/HY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2pOPCRA9TVsSAnZWagAAcpAP/2WNxEZas0D4oHc2UmId\nkiyDXJx1+wW/8z38up1bZTvBrLl+7nBWm8T14Svcv//tH2+38cxF+Fx167+I\nK8AvAv6Sl7oeYwt6q4oEbDgNdBlqgANCvvaQbwJpcZ0Ri6Jhls+CWnRL41ey\nIoD7mhnv87PZYpv5oBnHD2CNDhQatCyUxwWSYpeyYofeFkcM0uM2R1iajTnQ\ne2p1KQk2TWbZcbU8X6mxOEw3IojQgOO0FMiLMd08UzA7gZUa01uTSYfAkv5u\nc+viu34XOYENe6LpmqF2MWLBzlhtHYg1Tmw6cjdQUuC9HPqfGfJu9m2Gq9gU\nlJPf5aEvrQRpwndkWLzA+QKxCfCyR2e+vFVhoMmV2E7lM/qtt8c3/MVkT6Nl\ntFZYSzsMsN8re9fGeF09s7Mzvy+4psSI+9CCKXyaosNFnAHgQ3gcK5fdwo3D\nXPdchx/qDE2SUopxEKjmWRzQkLZbAuXvXEP/kfyUyc6MWu6tMmNA9Pm4FwQe\nbsXybkYaHRMkSFSrAfan+tZgOrRb83/T/TcWtmGiCHBbmERiykxUexu+v0o7\nCU7nqwboeKwducdb0j5fEVtqJSP5pIf4dOaDmtXarpooUZJlbH/FJ/GKc426\n1/EK/jYRfDVBYsit+AKAKmkBlSucFe+uypw8o1BX8BUT3hm3HP+DN+K+rtJo\niblj\r\n=Wyf3\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^8.4.0","sinon":"^11.1.2","ts-mocha":"^8.0.0","expect.js":"^0.3.1","typescript":"^4.4.2","@babel/core":"^7.15.0","@babel/runtime":"^7.15.4","@babel/register":"^7.15.3","@babel/preset-env":"^7.14.7","@babel/preset-typescript":"^7.14.5","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.15.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.1","@types/mocha":"^9.0.0","@types/akamai-edgeworkers":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.11_1632855759061_0.0062954246121786905","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"edgeworkers-mocha-mocks","version":"1.0.12","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.12","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"86f48449fa0ea5a2c4278e402bcaac0e05b918d5","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.12.tgz","fileCount":15,"integrity":"sha512-o9Wbjd60ztzlGa/4kl0CjtZPJBq3u6BhfAHth+/p8S/Bn60+LRR4XWKwAAx4w09GJxA8se+oTHUHbgUzYVyzFw==","signatures":[{"sig":"MEUCIQD9/49LUzB0UwB4K+pC2DagftHXo/ybcvKhaRI3IXIzOgIgEFgLm6Vdf1xlnJXjqRmrcwgUknCKC4W9FjluqmUrZj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSxk2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrC7BAAoQkbGO/ViW5r+vmEesL9nShPUXEMVSwkWAcS3+Igs4SrsLMj\r\n1TG5EKbVBY1Dsm+UUVSsmttV9CwC23fbYgGsplWRQHcHlbdq8EC6pja71P8y\r\nQzOkMsNKkP7sDHB+CfGS8eJnMtuXqsFTnfmJERSMqwcMkVVgSgwR5ybFWldB\r\n7yO63esrDzePkLSUdSZSoRwVceH/RnZtiUL5NbQRZ9LKSsbqC76Bt2Ucqxpm\r\npnPwnpvu40zl89frrTvAIIVP043QCufBKETuHsTek0DmMJ9idGue+B2wxxJy\r\n5KxDoB2CjkI9hedUN8XDAwO4hVMXitc3RqKGXLgFmJWjUWbwfYKvQg7Fbk3H\r\n5CyOr9NJ0FaaoBgArW/Ofh4UvXRn9i2PStxqTUqjimZaw9njOHmPn7qy1NXS\r\nX4mYPY4Ron9TooVAX2stkgWMrcVSrHuUbiXPDAga4/NNzuLBhqARdr0BMxnk\r\nglxN33g04fD9Pxo2yR76DEI+BimTo9Fe8jpkQtIMu1ojMcDIGnNFkaqfCToK\r\nP2HWE1BSG44ji3/8kQbxNPq8q/D3XLEbSNAcdFHwadLYANAPGBqF8wHP6or8\r\nSaTMf8/xKv0TQb+yJ6OcEDUYoX76p+fw8H2Q8zsNvJHkH98vKwrFDMOLdd4X\r\nHhKeriz371BNQKLilnWq8J6qWTWyozmcgAM=\r\n=f/9+\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.3","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.12_1649088821875_0.5908324346359455","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"edgeworkers-mocha-mocks","version":"1.0.14","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.14","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"bffcb75e470a4dd5957d38ec2874edb4c8f659d8","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.14.tgz","fileCount":15,"integrity":"sha512-aW9Oi9bNcoeyMVK/o12GZiqao+GNdTLzmqyvM6w+RIbATQQQfEwERG5t0B9Z+HruOl1gP3MgAWMpcER3DJE44Q==","signatures":[{"sig":"MEYCIQC6gadlazS77hYbpc1bUyqasSdvp2t/skY6zEKpI5+hbgIhAOWZFQXmW4LBRKH0QbdlMN0NiadfBO5ltjpYaYTR4koE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJilOd7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA6w//cYBKGQOS4ewgNH7viJnhsOp3c5NFSJbqB3YFDplJ7idECrbl\r\nHFCIplMRH7J8ENE2TGz5jk5wKDIZ/aEH5X1MBQ5Vb89HtkAMdU2scNJDUNj5\r\ne9X8KXoidPDJW2MzLJR2NAUCH3/JekM0dmMgP1EJ/+/bjsZD0BigjJ7zXGcC\r\nZBsr7oxg+G5JfHLCxsizBHd7k3xWtXJQlZ7yx995g8mDERiaOlQJWFJ83+eK\r\nG29SkoVuni+GMlhCrM2Opr3LNC5No023jpSvtzOC345I9jfKA45vWzRSB21q\r\nt6xyJSqrvsm7vNIAvzArYqXJFwu/DK5vyzKidrjStWj7AJfU2SksgjwG26lH\r\nxmBiFRYwmf1TQbOrR1SCtSJmVsdLEPxSkyhBDNZUuCm4b3JxwyRVWGuoPaY5\r\nu/+T+p6BrP7fCT8LXWOSZVJPS8YGym9HwXG3QKaLOQJh34igslCrXP/5T/Go\r\nHGV9aJBnyD0MQSSRO5fh3kl7X/p+Y2cQPLoLre8bJz6z5HWPhRpcMWMstflU\r\nCGgC2M3ia9W00VQfTmvkiKxFU/z/kAxm1jjFzwF+wUn3GSTvQNTFG71njlDy\r\nK8qmPU2BGvs/uJj7KT/ibT+olGDXVXGv7TEAVqUa5Z7Jymp27azz2mPpu48d\r\nfbt1Cyd/m6x+kEH/FlZLd3Sbk/O5myTf1FU=\r\n=DKRD\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.14_1653925754931_0.9995373160991214","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"edgeworkers-mocha-mocks","version":"1.0.16","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.16","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"34626e3d61e47a51ed15f5a6d2a60dd285e1e827","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.16.tgz","fileCount":15,"integrity":"sha512-whOPZnwd9L5iFrdDCTjNlFOdZM/bmZL/f9TiveBYPVgEc+a4TfciHwy3B5BMGFfo/+Pv/xdHiZjMgIQQct59UQ==","signatures":[{"sig":"MEYCIQDY3093YghjJLidcJJTiXXVMRzdcwW0deMYdInOnffiLgIhAIoXI6bQ2u5gYfUjL93oP7ZI1L/MWnKncXEoeG3GCs2H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15765,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMcYAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWWA/8CQnQAeWnsCLCh0JHZODbOpdKigrp2K5w6JH9nT2VSsU9fXOp\r\nJzrGUdVfGPfubktUg5e+sH8292HBuY+8Iax307xEYbXvqtFi91Kl+eUnKM/d\r\nR+v3kvURUbRlpsGAisMWqC3CM+jjjM6M6tu02PO++N3GitcA/8SkKvOEG6PK\r\nI2LHrl20WlCN3VIy8OkKf+7nnPosFcq5a1B3583QZPfcQmkI6JdbjLzcNNWX\r\nwpAdJ6wHYXbrkXWic3IDSlpL+TX9pdFD0XtvGvPvRhXRitTfEODy+9W84wQ5\r\n1Vcb8+ZNcHS73HmTRhWP+iDnfwOu1M4OojT2VyfP+o7kRoryw7fiHJmVGSnu\r\n8k/C6BKOV/j0RH/eJWjuwrK6i2le5QLi8cASX2JfNvrZgISpOIfYTQuK0F3M\r\n/+sN13Yf2tZOKQygE0iysgujZt9jKA7vrbvB5k1n8x19ufOtsTbhclmG+Dhh\r\n3/zi0PtH+5n0lszOXOhy9SvVrSD1+2BSJUpF3cu0gvCNCScFUn7Mq1LftCxM\r\nbOnquZ37mgi2H1G9t6Hz2/l2NBngmMyfxEjmt/EYgsIP2i5L8yUvyXYavMsk\r\nLNpk2gePzpNbYXJiU1icObMQx5cyLXu+5dRdi3qgwZqlaMorJimCTwWve7S3\r\nm4cCDIopzqGRxeueAMlLSVWdkhKIOjLNPdY=\r\n=ckM/\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.16_1664206335837_0.49459801953170857","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"edgeworkers-mocha-mocks","version":"1.0.17","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.17","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"90730abf0e90349efcd3326d86c7fca1840c758e","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.17.tgz","fileCount":16,"integrity":"sha512-QgzSG+YcODZApeMI0cSgl39h1V6LcJ8u4/fAvbeT1ya/l3MKRNqS+InfXR0nULAjIT9SoNhyyLYdLEQC2PT1sA==","signatures":[{"sig":"MEYCIQCYP/fEYeD5JNEkx5F2IAiI3Xk7Vo1XWvCkeRBRhmxM7gIhALjYcZGMrMheZXa80r6wPn9hAqOE7rPoILNDqXt9PlQu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUAmuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQKg//cCjKFis2jh+02QS6U8e8TeoG7tyKBYBI9PVKlXHuR5w1WNQ+\r\nVrY1UMHdy3TUD9pnQTBrN0rsJwHRVN4EjBvY9xPgPblUonA63chiLoTSpyzO\r\nxTnHTahq7JGlLv9Z8FwrUk4SCtubPKHSjAllsm8Z9sT9VEcjzV535EFckazL\r\n9oISgoPpnI41YVjcw4TOJ8uF7cliqzjVcHsbu9U8g0vZI9ugkZBNI1OH1Y0A\r\n7/oesCqku74dpE1l5AvhMlnITUxk+l+AspLJBWXA21kgSkighJFuoKQCvcyT\r\n/o2v/6QYbaUr5g2BAxuYLhEmyCP4MqMQB0rqNzEenRsPl8A7rejKE0aqeHj7\r\nWWqJmc3Q1lCSbbfvxqdIw7PbySIHoYMEFKzC1K+otra7hwWY4ZVE4YhERLGx\r\nw9yOdoNSFNNzS/1dYS50NIpKtjpWhCyg/aNWkLvq7jNeACMKBzql0EG0+Pl5\r\nGvOS5B/ilqLhMj7VX9OAbYUlMKnzxDcwouWVKAUIBvAX9QNlq4PFz2+y/hzO\r\n3zNcZ8XqseJDP86mbaxUARmBNvU9+tmKFz23ZoAjLAk6DYqo2NUpaVRBnpme\r\nWc+e0REdkLIlhHf4rpDFyfHvi+RQNO2H3YIvs1OVuuhje/Px8M5o4Aqjk6/Q\r\n4iut6vMk0Km3zrVyW/jhcjC6MFCEo29I1F4=\r\n=+8U8\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.17_1666189741933_0.9982277716757455","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"edgeworkers-mocha-mocks","version":"1.0.18","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.18","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"457fefef08ba3ec89eeeaaaa6e24179a8326af09","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.18.tgz","fileCount":17,"integrity":"sha512-3fttG/oe5aZ/weS14RFF9hm3cdmcC8IfNHd71mYV+jbuNVh7xVT7ozGw2Gg+ioAN1MB/0BfrEYo5kCUm8c0l6Q==","signatures":[{"sig":"MEUCIQDZ6AiF2SGFjmwqe1Qnf0DACsuK4wjkvJjG/pEJHth1eQIgOl1DiibDH5BAOpiCX0wV0p758WEFDwFZJJLLsBGenwY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV/7JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodlRAAhEhZkeGCMbZL4kRwYBBpJH26bWa5gjgSmXCGtNwiyfg/QZF+\r\nGk+7NUzKs6KRf2/9uWaXH7D70AbrDGKMeEF/Zxd//OhUyTdDzX6OphkQ49aT\r\nWFTyzBd/R8enldx08eLq/gvBhfTarpeUDA0RaBLbuStL4yK6uvNjEsERpqTB\r\nC0WnzDYXF1SUPIHb7wlU+CFj6cIUqxwnkrPME+5oovinT1eyi1iSHNjV2G+B\r\nWFJkd0Q2FZVWk9ljy1dkuuQM84R20pyPYPHLYPcd4pZEAmTlUPwp/eUXfqs1\r\ncGBMbiDTTNUJU5bGQe/fp8H3eQZvnWs3hJTruveVgmBAYg6lMhzWnO1BhvJv\r\nJv2yozY7fQljw0q7KkDgSh2VpaYemUyjyXCzsQExo7kONUu7TDNDWsMbdHNq\r\nKPVIrVA2xpeWw9Qw9E7MQyBR9bEr93nF3RTcHjFH3bSm3Ac48ewdesnr+LyM\r\njSWSquvIMGLaKO3/GC2EW1G0yVFoAHq1/HIagXlGBnf6cQCAF1Xx9GmVanUv\r\nkEwp9oKv3oNVZk9eI1HI/csjEfLDcrOKAF+2tz9/EMlgZn+gm7XI6MKwxLYd\r\nJjBVo+E6Nj6G7m6sHaLmjtNKaBDdNm6d6DOFeXQP6gWpKVUR5XdCr1cNHSep\r\nPIhyzp/iTPHfnWbtGwaGtGZF3dhdM4to1XQ=\r\n=GSBF\r\n-----END PGP SIGNATURE-----\r\n"},"private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"6.14.13","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"14.17.3","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.18_1666711241147_0.5081013582732532","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"edgeworkers-mocha-mocks","version":"1.0.20","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.20","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"e6a8307769a9558b19d93508e39d4e5cb832935d","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.20.tgz","fileCount":17,"integrity":"sha512-i84CuzztGzZU6phIGQ1PpKKcHMvggsV56RWKwqV9Yn8N82wQbV5c/hPM6Z2cX/asbAZ30diiTkH4DFalgCo32g==","signatures":[{"sig":"MEUCIQDD/I1um7RKBQP+4qBayxGSBNamUjuG2Uz+Oquj4ruEdgIgduJSzPyr34Oag4qIa9ldSc0p6dqeN0FFNZpUN9nsb9Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvEfJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQ7w//QYqtTEI9w9ILCUdEhGvGS8K9oUFSOgyWXTpLLUwbcRPMgiMS\r\nNhHzc0ZdJzsH5xnBMi06I4ACj1xLcvn3DyfizcIg7nghNKp0c5e3hP95wCK/\r\nQ9w5gQl8mutinadw+nzlcqi0Lf8AnLfN1DEKnKLopZnT5MHrDLuPXeAB6dBY\r\ndD2C9mEF2OOMzq5sfPDWkBEy9ks5PpSC6FeZhmvsoxUfY8QydDODkvE/h5fv\r\n/Lh3V2w+Us6DjJjD7z6YXY5LzEdy6UgEaECrZjGFjb2ekIzxnGPOOzCCqR3M\r\nyypEltORir6acXgk3+XQxnpw8PiwnhqeRVF6sPt3gdw5FqHFbvWYjpdqy6Ad\r\nUIsl+1r2g6L32Ezx/qQiTxlTtZYh/qOOSYadwBWh5UiEP9u087qk/p2/voVY\r\noeiElITE4oEgUrItEOsLc2va7PUgjkEZDh24Xa4C++15k2odiC/HCVnuKSQ7\r\n8wIVSh7QZ6/y1eUcWYpFfkbskYCWfQi2QzvzBH9qNO+9EY2KcixkXRfJRgj3\r\nzZPAaY7MbUhjnrDooZrt6Z5jfveEC1+SUYlz4sS5jTe3ggG7GFcvRUHUQdHZ\r\n74CwsbDFh4p+wONCarfxjPiOtQgdFYHwDpu5DwJS6BIIgHGvegX+Wz/K6IcT\r\nytCsalIK2dC+X9cn+l+34WQ3pZTwYWcGJQE=\r\n=quPr\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"0cf5ed66586df75061c57c000710eaf17b366900","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.2.0","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.3.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.20_1673283529394_0.06293680946537217","host":"s3://npm-registry-packages"}},"1.0.22":{"name":"edgeworkers-mocha-mocks","version":"1.0.22","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.22","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"6dff4b4af672ed0ff4bbce24bda5fa98be59cf56","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.22.tgz","fileCount":17,"integrity":"sha512-EpblGdVGxgo4hZboQmVCkS1d7RjXKEOlQBW8dWKm5hT3ggHEPZEnXHrWyfBLYu408Ug0R4XPDGRvo6eQ3bFBpQ==","signatures":[{"sig":"MEQCIF8f3gojy1vWX1D+HAyWCjQ9ikVqhx68Zw+gKg35+RXUAiAy6UmFHVKk2gLPV21kr99FlIsj1Fasbxfk7CNDERtvAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2T5dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkLw//fP7I5ES/66UIYbze/079C4JlyzRIQwVra+hWx3xBkGH1vBs8\r\nQ5uBr0RqYnChRUx58858kpSuhLHSvTXiQsRN0apkWDVjgzzVzhOZ3h4yNpUf\r\nIhZEBr7+N0es+b3bfmhNf8LS7cx/gBZOvylybZBS+z++JB8ZYz6fVL4oukGf\r\nYp909FV0BrXeyEHyVI3pX5BUNZNUqgMS6fTXY5MMu2ToNWH2CsjpmNTxi7Qb\r\nENcrNAHn09IOXymZZUQvzNnYQZyoQCBpXZvDm4QtpneOM0o2kbebiwG4sU3s\r\nTCX/MGbe0J+D7QaJRRNrHsbJWqSzi3pQMiS+zZs6rEgehnoNZFeVphGdgcyV\r\nE+1gfwwwnPIqAMIatGBYS6sUroKidLU/LXGhhGc3L+zEeIjGPL2Zjzfe18FX\r\n3//P3nPH2VQvksn0KjSAIOpTexHLHKvy1zLJGY5z44zJJmKnfVAhydZO7zab\r\n/kzuCgCFiJospdZgvrCtQXkIkOl+rCXD25jiFvheQUSWv1KByTkMTCJzMhbh\r\np14mea7t3mT9ZzhmgZimDfhP93z2bjip4w7g2mGPa4AF091zS2u92/oQB6G8\r\np+2fcciswZcR+BjLR+iVHQIomTQKdyQkYjffoi1+9te2OZwYa31w30k/WGxl\r\nuABkUFCKchwx7CSeba+CmLOU7Qa1Pm/mOa8=\r\n=h7S+\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"c39e91159291e9e39781049486d02bbd85fe31d3","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.2.0","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.3.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^4.1.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.22_1675181661724_0.8708655572531641","host":"s3://npm-registry-packages"}},"1.0.23":{"name":"edgeworkers-mocha-mocks","version":"1.0.23","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.23","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"59a8e6203acc7815f128c372f68074a1c724d0e7","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.23.tgz","fileCount":18,"integrity":"sha512-5AZB5XNfdCYwnbeKO0LCnfkVPtjJjyABMTgkaPFDOiYfkG1/MHmVCMDsKTU/b2h0kQYZHBsy0TLx7peaxfnnFw==","signatures":[{"sig":"MEQCIBcONpg71Yx0ovB3/syH+P2u1foWgB+nw2Dgo2vB2RBKAiA0QIvvyN1A5tAN+BpSFEnIpnzVa4U/OrIDRZ6nrI5YeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQToLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr78RAAiM7L7E/h0X+oFuCevoWaEnvVqDVfuTJ0M8CCUSgtgzWO8+/b\r\ntI8bqYSGCwDzzEtcK71Lkv7MZnCzO4ptDwwUDceVmVacvn918s0NoPFucE4e\r\nsVfbYKu7Cj4DHi/0+aLmGpFcRU20e9SxVZ3a1lRWYenR5Yhq0bI2Y21lO118\r\nu+zYGCDapWk+nxlB6PVIn3EZ71x1sEpmGvCeaC/kOKaYMBYzklQJmj5HlJXZ\r\n333LO6EeV5Tn0X4DdB8ycoCZZUVatnaIcnCq/Q8NWpCMQL8JGhqsOQDbbXy5\r\np8lW9Vl+uCaHv+gUGrhfuthLc54wr4nVQxBXO8S/HeGy1yoh4gGuraZNauQZ\r\novrgHBcV735BFLC0mROvwlL2RNAnRU/LtAfFaiPWTAzSXn9gifttbLwfgEZs\r\nMzSy6GXi8Pxvq6BBXlx7Tt3p2OZAcu1sEr6xrTfuzS0akICigH4h8ZliatkP\r\nDUhWvDhihk93WWI8UwHmT8Z03x16rnCSJgRELCIOFl+lEyEcyvMU8zJFQWnw\r\nd9jvpxzvdg948chTl362yJdjWktYBnN3q06Ofhf3pL39VcWLPrTKa6dkQ9tB\r\nLT64CMI/+qW3LUMCJ5U24dnSlZeLQxhAzY5AuL2fP0TU/VcEArhrhvdjbizP\r\nweNpz/WfW4HWYNQ0619aOTnYtWxkS1zy7PM=\r\n=N4tG\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"03ba989c7eb5e5e3e2abd5c9bad35dc823553236","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.5.0","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.7.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.23_1681996299135_0.3320487840028037","host":"s3://npm-registry-packages"}},"1.0.24":{"name":"edgeworkers-mocha-mocks","version":"1.0.24","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.24","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"668312246a8db1dcd2047c72e4920255f25730dc","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.24.tgz","fileCount":18,"integrity":"sha512-OO3wI+2AHikDjeC9oaf+TH/BDovmPaMwgLKTfzeLwNKVYHPkwsC3QSWqArgFjbaeCr5TAocOnzhsdmVXkB3hSg==","signatures":[{"sig":"MEUCIGDCI2pvleOZPRvVIIo4Q2VZcMc0MZhmAXA7tMIhd71FAiEA8grDTFOpYC7T4IUgPjRQQ4byy8t1/+2h1WT+CQSmMpc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20303},"gitHead":"fcbfe8955028ba8d663e56c44142eeb1ee84c136","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"bmatthew","email":"bmatthew@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.6.7","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"20.3.1","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.24_1689277204101_0.6045261615141471","host":"s3://npm-registry-packages"}},"1.0.25":{"name":"edgeworkers-mocha-mocks","version":"1.0.25","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.25","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"83b1bf04427febe9010a8f1140336f3988e2b4f6","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.25.tgz","fileCount":18,"integrity":"sha512-ZypuQMSt9k7ZfBaRyx0nDls1X9u1H8dN7w0ZBnjUN8OofiR8L4VWAaH+OjaYSa9QmV/6TpLNDlF6G0KTrcPs0A==","signatures":[{"sig":"MEUCIQDZXfuZAeg0kV9yS8A1RVkqp3q7NqPymIqD7d2oLvpq4wIgOcNIJrw2OEcHQenyDKSCODcmwRluHv0+bMYv8RcyZAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20394},"gitHead":"6e0982a6ec39fa0ce9ba6e04e48db21ad95e0529","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.6.1","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.7.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.25_1691677798576_0.7651303164276992","host":"s3://npm-registry-packages"}},"1.0.26":{"name":"edgeworkers-mocha-mocks","version":"1.0.26","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.26","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"087eca463f17f55888956d01cf69fe383cd481ec","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.26.tgz","fileCount":18,"integrity":"sha512-bp9yl/OjLGNTpjT87nTDjEnFTuBzJAQTumSzxzPs7pGzGMUqP1558hKBfZ+MZYI7u2XxPNJlf+gzwGi2v/brQg==","signatures":[{"sig":"MEQCIByGsJCJ9N+Dtm63nvqyYvV0moR2lwGeh6Ctc2trCJAHAiBhYUfUFQyE2+OVQDOI/KmedUgVQlS5bt8VNoXAmySXIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20672},"gitHead":"a74c85322f125b21f3300bcddb4334158dcd2fea","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.6.1","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.7.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.26_1701873315711_0.9752543726145388","host":"s3://npm-registry-packages"}},"1.0.27":{"name":"edgeworkers-mocha-mocks","version":"1.0.27","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.27","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"ad453601bffe1c47fb548cb7adb91e6547a2644f","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.27.tgz","fileCount":18,"integrity":"sha512-LMIAFoHdFrdfUCZDyLH6kdcVkzB7uuYPDMDeILVMYv1pSHLOkvWncPaLrYEuecw93J3UKK8pFX05qz5grCrd5g==","signatures":[{"sig":"MEUCIAhWGmFm6CKLvQd8efwmTTqlz4Molu2HYMUURreiwBFmAiEAi+CJLp6V4junjB92nfzy11fo2rj0mpWcH78sdWpPeVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21209},"gitHead":"573b8dffcebc75979bb3f37b3dc520a86855c41f","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.6.1","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.7.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.27_1703007461227_0.05995996556977978","host":"s3://npm-registry-packages"}},"1.0.28":{"name":"edgeworkers-mocha-mocks","version":"1.0.28","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.28","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"9848334cf33f92fc058aee5dd78452ec94207f52","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.28.tgz","fileCount":18,"integrity":"sha512-uLvpahJ0fOeS607Ri9Aiz4bS5m84iPGauwjw+aYZ1RoXDpO1UIakmeqII5U/LgLiV5f9BIVhJQ3sahwoBQ+/fA==","signatures":[{"sig":"MEUCIAhagf6TnhfjX74vtp05eth05tg0Z2UScgL5jbgtGxbRAiEAv4mm/M1aaOkxus/jt6v6SPGURJZWT+4SpKNuaEfp2pw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21240},"gitHead":"77b4cea0690b1c61aa4c027d28132b64dc084797","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"9.6.1","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"19.7.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.28_1729000915870_0.9786075501599527","host":"s3://npm-registry-packages"}},"1.0.29":{"name":"edgeworkers-mocha-mocks","version":"1.0.29","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.29","maintainers":[{"name":"ehughes","email":"ehughes@akamai.com"},{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"mrtanishqbhatia","email":"mrtanishqbhatia@gmail.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"c02ccf3cf7a8a7c42f0042dcd90889d772179f3e","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.29.tgz","fileCount":18,"integrity":"sha512-kx2aw/2Wq1Y8rHwPyCYC2mbALpVU1La44W/NFW2gV5svDzhG7pMfzpemF3Exy9XK0iFnVpC3fegYvN3E+32oUA==","signatures":[{"sig":"MEUCIQCuacNTi7CAJO8iFA4Wn8/Uz59DnWoAflEhTw6dXcFWTgIgAfu9n4hVkclcCWdpLXwrJI55uR8qcriDMhf5v/Zl7P4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21322},"gitHead":"24d4290d9e1f89b1d6805af6941888763c1f1dab","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"ehughes","email":"ehughes@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"10.9.2","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"22.9.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.29_1734458220578_0.5813356565816683","host":"s3://npm-registry-packages-npm-production"}},"1.0.30":{"name":"edgeworkers-mocha-mocks","version":"1.0.30","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.30","maintainers":[{"name":"ehughes","email":"ehughes@akamai.com"},{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"lperra","email":"lperra@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"3fdafe5607e8f1ebbc77fb9bf8ffe88f9ddb29e4","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.30.tgz","fileCount":19,"integrity":"sha512-4aSafZuY+3ydURM6H827lrT91CvV4PfgmOZmobdM1B408PQpn+VxA5TJHfEn15v0YF0jtAFGO0aWnYmYiGm88Q==","signatures":[{"sig":"MEUCIAaAbc2hw4prYDfqcrQmhjf6XJzHxAC5b0QL4XJgvgTCAiEAilJacG0HXONGWQKj6MiWRUtiYCregHwKM1Ap/cJLKq8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21824},"gitHead":"ddb94af61140bfe877af31dfdc81f64885684b09","private":false,"scripts":{"test":"mocha --recursive --require ts-node/register"},"_npmUser":{"name":"lperra","email":"lperra@akamai.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"10.9.2","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"22.16.0","dependencies":{"md5":"^2.3.0","mocha":"^9.2.0","sinon":"^11.1.2","ts-mocha":"^9.0.2","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.30_1764795809555_0.24355513749129987","host":"s3://npm-registry-packages-npm-production"}},"1.0.31":{"name":"edgeworkers-mocha-mocks","version":"1.0.31","license":"Apache-2.0","_id":"edgeworkers-mocha-mocks@1.0.31","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"lperra","email":"lperra@akamai.com"},{"name":"yanakad","email":"yanakad@yahoo.com"},{"name":"aniefer","email":"aniefer@akamai.com"}],"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"d88c7940436322df95c672ef94ca03d4cc38e691","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.31.tgz","fileCount":19,"integrity":"sha512-PAUVv8hKYI+to/eAV50gVAujDrof7tFp9AX1tpZ4ovSMwCqcwlHeDBdVElb3+8tuM+TvWlAJC4uj2AGoA6UjUQ==","signatures":[{"sig":"MEYCIQDBCbL+2eld5D9LJ+6dcOB/pC2kYEe9TNIryuUHZKUrPAIhAJHNxOS0Nzs1G9p07briVMGvSHXRnWbcvIN87NfMw1Vh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22220},"gitHead":"58e551df12e3871a9d8d3d682d2d6d3194a90f70","private":false,"scripts":{"test":"mocha --recursive"},"_npmUser":{"name":"yanakad","email":"yanakad@yahoo.com"},"licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"overrides":{"serialize-javascript":"^7.0.5"},"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"11.11.0","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"_nodeVersion":"24.14.1","dependencies":{"md5":"^2.3.0","mocha":"^10.8.2","sinon":"^11.1.2","ts-mocha":"^10.1.0","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/edgeworkers-mocha-mocks_1.0.31_1779818519250_0.3820551238286958","host":"s3://npm-registry-packages-npm-production"}},"1.0.32":{"_id":"edgeworkers-mocha-mocks@1.0.32","bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"dist":{"shasum":"dfc4d38021e801b3be66e9b32670b498d8c292cf","tarball":"https://registry.npmjs.org/edgeworkers-mocha-mocks/-/edgeworkers-mocha-mocks-1.0.32.tgz","fileCount":19,"integrity":"sha512-7IRB+7DLp4CceC4Q8o8Rsf9/0zFSwh8ecw4WwwYOz9HY+v7LXxYuBaMuAFSsBVwMrtz4nbc6gghkj8gKe3TZFg==","signatures":[{"sig":"MEQCIEo+el19QvaiRgbLpfTAG7cp/9cWn18kqEQLYg+GQBmyAiAET9v3Qcng1FtVzUlmdHLGDyTyoRf+fTWFZmB5pyJ6Eg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD+IxAejYNveXeyoYb1cP8g1n/BOb11ogHcIGQjkjV/ZwIgDIi4zxn2aoaxP7OhvZKQSmgE/Dbvs+3kZoH+WAlY6Fs="}],"unpackedSize":22657},"name":"edgeworkers-mocha-mocks","gitHead":"84537f59d2fee07470b7ec4368d57e63b306f450","license":"Apache-2.0","private":false,"scripts":{"test":"mocha --recursive"},"version":"1.0.32","_npmUser":{"name":"aniefer","email":"aniefer@akamai.com"},"homepage":"https://github.com/akamai/edgeworkers-unittest#readme","licenses":[{"url":"http://www.apache.org/licenses/LICENSE-2.0","type":"Apache-2.0"}],"overrides":{"serialize-javascript":"^7.0.5"},"repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"_npmVersion":"10.2.4","description":"Akamai EdgeWorkers Mocha mocks","directories":{},"maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"lperra","email":"lperra@akamai.com"},{"name":"yanakad","email":"yanakad@yahoo.com"},{"name":"aniefer","email":"aniefer@akamai.com"}],"_nodeVersion":"20.11.0","dependencies":{"md5":"^2.3.0","mocha":"^10.8.2","sinon":"^11.1.2","ts-mocha":"^10.1.0","expect.js":"^0.3.1","typescript":"^4.6.4","@babel/core":"^7.17.8","@babel/runtime":"^7.17.8","@babel/register":"^7.17.7","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","babel-plugin-module-resolver":"^5.0.0","@babel/plugin-transform-runtime":"^7.17.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/md5":"^2.3.2","@types/node":"^17.0.35","@types/mocha":"^9.1.0","@types/akamai-edgeworkers":"^1.0.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/edgeworkers-mocha-mocks_1.0.32_1789657120961_0.1566911615770612"}}},"time":{"created":"2021-09-28T19:02:39.059Z","modified":"2026-09-17T14:58:41.414Z","1.0.11":"2021-09-28T19:02:39.213Z","1.0.12":"2022-04-04T16:13:42.072Z","1.0.14":"2022-05-30T15:49:15.090Z","1.0.16":"2022-09-26T15:32:16.018Z","1.0.17":"2022-10-19T14:29:02.122Z","1.0.18":"2022-10-25T15:20:41.326Z","1.0.20":"2023-01-09T16:58:49.539Z","1.0.22":"2023-01-31T16:14:21.880Z","1.0.23":"2023-04-20T13:11:39.444Z","1.0.24":"2023-07-13T19:40:04.307Z","1.0.25":"2023-08-10T14:29:58.721Z","1.0.26":"2023-12-06T14:35:15.865Z","1.0.27":"2023-12-19T17:37:41.409Z","1.0.28":"2024-10-15T14:01:56.071Z","1.0.29":"2024-12-17T17:57:00.770Z","1.0.30":"2025-12-03T21:03:29.750Z","1.0.31":"2026-05-26T18:01:59.395Z","1.0.32":"2026-09-17T14:58:41.046Z"},"bugs":{"url":"https://github.com/akamai/edgeworkers-unittest/issues"},"license":"Apache-2.0","homepage":"https://github.com/akamai/edgeworkers-unittest#readme","repository":{"url":"git+https://github.com/akamai/edgeworkers-unittest.git","type":"git"},"description":"Akamai EdgeWorkers Mocha mocks","maintainers":[{"name":"bmatthew","email":"bmatthew@akamai.com"},{"name":"lperra","email":"lperra@akamai.com"},{"name":"yanakad","email":"yanakad@yahoo.com"},{"name":"aniefer","email":"aniefer@akamai.com"}],"readme":"# Mocha + Sinon mocks for Akamai EdgeWorkers\n\nThis module provides a set of mocks of the [EdgeWorkers API](https://developer.akamai.com/api/web_performance/edgeworkers/v1.html) for use with Mocha+Sinon. In the Akamai EdgeWorkers execution environment, there are a set of modules and objects provided; since equivalent packages are not available in npm or node, Sinon mocks are provided here to be able to execute JS written against the EdgeWorkers API in Node.js for the purpose of testing.\n\nThis isn't a perfect solution, as:\n* Mocks provided here will not perfectly replicate the API.\n* The APIs provided may not be available in some event handlers, refer to the [API docs](https://techdocs.akamai.com/edgeworkers/reference/api) to see what is available.\n* Tests are executed in Node; while both Node and EdgeWorkers run on top of V8, some features are explicitly disabled for EdgeWorkers, there are execution limits for EdgeWorkers (time and memory), and developers need to be careful not to pull in Node APIs.\n\n[Additional documentation for EdgeWorkers](https://techdocs.akamai.com/edgeworkers/docs) can be found in Akamai TechDocs.\n\n## Structure\n\nThe EdgeWorker has the following structure:\n\n* `src` - the location of your main.js and bundle.json.  All additional modules should go here.\n* `test` - unit tests\n\n## Setup\n\n### Step 1:\nStart a new project and execute the command below :\n\n```\nnpm init\n```\n\n### Step 2:\n\nHere we are going to cover getting the node modules needed installed, as well as config file setup.\n\n#### Install node modules\nThe mocks for this project are published as the node module [edgeworkers-mocha-mocks](https://www.npmjs.com/package/edgeworkers-mocha-mocks). You can install that by running the following in your project directory:\n\n```\nnpm install --save-dev edgeworkers-mocha-mocks\n```\n\n### Step 3:\n\n#### setup package.json\nMake sure you set the test script defined in `package.json` to call Mocha, optionally with `--require ts-node/register` to support running TypeScript tests.\n  ```\n  \"scripts\": {\n    \"test\": \"mocha --require ts-node/register\"\n  },\n  ```\n\n### Step 4:\n\n#### configure Babel to support ESNext as used by Akamai EdgeWorkers\n\nBabel is included as a dependency to fill in for the newer version of EcmaScript used by Akamai EdgeWorkers. To configure this correctly, add the following as a `babel.config.json` file (create a json file and name it as `babel.config.json` if it does not exists):\n```\n{\n  \"presets\": [\n    [\"@babel/preset-env\"], \n    [\"@babel/preset-typescript\"]\n  ],\n  \"plugins\": [\n    [\"@babel/plugin-transform-runtime\"],\n    [\n      \"module-resolver\", {\n        \"root\": [\n          \"node_modules/edgeworkers-mocha-mocks/__mocks__\"\n        ]\n      }\n    ]\n  ]\n}\n```\nThe inclusion `preset-typescript` is optional and only needed if you are using TypeScript.\n\nWe also need to tell Mocha to run using Babel. To do this we will create two files; the first is a `.mocharc.yaml` file (create a yaml file and name it as `.mocharc.yaml` if it does not exists):\n  ```\n  require:\n    - 'init.js'\n  extension: ['ts', 'tsx', 'js', 'mjs']\n  recursive: true\n  ```\n\nNext create `init.js` and include the following content which pulls in Babel and tells it to run on imported modules:\n```\n  require(\"@babel/register\") ({\n    ignore: [],\n  });\n```\n\n### Step 5:\n\n#### Writing a Test\nAfter importing an edgeworker or its functions from the main.js file, you can write any kind of tests you need. Tests written against [EdgeWorker event handlers](https://techdocs.akamai.com/edgeworkers/docs/event-handler-functions) require creating a Request or Response mock and then calling the event handler function with that mock.\n\nHere is a quick example of a test written in Mocha using [expect.js](https://github.com/Automattic/expect.js/) assertions against an EdgeWorker found in src/main.js:\n\n```js\nimport * as edgeworker from \"../src/main.js\";\nimport Request from 'request';\n\nconst sinon = require(\"sinon\");\nconst expect = require('expect.js');\n\ndescribe('Simple example ', () => {\n\n    it(\"should run a basic functional test against onClientRequest\", async () => {\n        let requestMock = new Request();\n        edgeworker.onClientRequest(requestMock);\n\n        expect(requestMock.respondWith.callCount).to.be(1);\n        expect(requestMock.respondWith.calledWith(200, {}, \"<html><body><h1>Test Page</h1></body></html>\")).to.be(true);\n    });\n\n    it(\"should unit test an edgeworker function\", () => {\n        let result = edgeworker.someFunction(42);\n\n        expect(result != null);\n    });\n\n}); \n```\n\nMore example tests are available [under the test/examples folder]([https://github.com/akamai/edgeworkers-unittest/tree/main/test/example](https://github.com/akamai/edgeworkers-unittest/tree/main/mocha/test/examples)s).\n\n### Step 6:\n\n#### Running Tests\n\nTesting is provided via the [Mocha](https://mochajs.org/) framework.\nTo run unit tests, execute the following command from the command line:\n\n```\nnpm test\n```\n\nThis will run all tests in the `test` directory.\n\n## Known Issues\n\nImports in Node.js work differently than in the plain ESNext used by Akamai EdgeWorkers. As a result, calls to import implicitly from the same directory as an EdgeWorker do not work when called using Node.js with Mocha.\n\nConsider the following example code from an EdgeWorker `main.js`:\n\n```\nimport { usefulFunction } from 'utils/helper.js';\n```\n\nThe above will fail with an error:\n\n```\nError: Cannot find module 'utils/helper.js'\n```\n\nTo fix the issue, include the current directory in the import call, like so:\n\n```\nimport { usefulFunction } from './utils/helper.js';\n```\n\nThis change will work with both Node.js and the Akamai EdgeWorkers runtime.\n\n\n## Examples\n\nExample EdgeWorkers can be found [in the Akamai EdgeWorkers Examples](https://github.com/akamai/edgeworkers-examples) repo. Example tests written against these EdgeWorkers are available [under the test/examples folder](https://github.com/akamai/edgeworkers-unittest/tree/main/test/examples).\n\n## Contributing \n\nWhen contributing to the repository please describe the change or examples in detail in the pull request.\n\n### contributing examples\n\nWhen writing tests, use bare imports (e.g. `import { mock_foo } from 'module-name'`) rather than relative paths into `__mocks__` (e.g. `'../../../__mocks__/module-name'`). The Babel `module-resolver` plugin resolves bare imports to the correct mock automatically.\n\n- Create a pull request.\n- Once the pull request is created, If the contributing user has not previously signed a Contributor License Agreement (CLA), they must complete the CLA signing steps as indicated in the pull request. The CLA signature will be stored in an Akamai private repository in Github.\n- A code review will be performed by multiple Akamai members of the edgeworkers-unittest repository. The code review must receive at least 2 approvals.\n- The pull request will be merged once all of the above criteria have been met.\n\n## Resources\nFor more information on EdgeWorkers and EdgeKV, refer to the following resources:\n* [EdgeWorkers Developer Page](https://developer.akamai.com/edgeworkers)\n* [EdgeWorkers User Guide](https://learn.akamai.com/en-us/webhelp/edgeworkers/edgeworkers-user-guide/GUID-4CC14D7E-D92D-4F2D-9292-17F8BE6E2DAE.html)\n* [EdgeWorkers API Guide](https://developer.akamai.com/api/web_performance/edgeworkers/v1.html)\n* [Akamai CLI for EdgeWorkers](https://developer.akamai.com/legacy/cli/packages/edgeworkers.html)\n* [EdgeKV Getting Started Guide](https://learn.akamai.com/en-us/webhelp/edgeworkers/edgekv-getting-started-guide/)\n\n## Reporting Issues\nIf you experience any issues with these code samples, please raise a [GitHub issue](https://github.com/akamai/edgeworkers-unittest/issues). Or create a pull request with fixes, suggestions, or your own contributed example.\n","readmeFilename":"README.md"}