From e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Mon, 16 Nov 2020 00:10:28 +0100 Subject: api, login, auth --- node_modules/mongoose/lib/helpers/immediate.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 node_modules/mongoose/lib/helpers/immediate.js (limited to 'node_modules/mongoose/lib/helpers/immediate.js') diff --git a/node_modules/mongoose/lib/helpers/immediate.js b/node_modules/mongoose/lib/helpers/immediate.js new file mode 100644 index 0000000..ddb7060 --- /dev/null +++ b/node_modules/mongoose/lib/helpers/immediate.js @@ -0,0 +1,12 @@ +/*! + * Centralize this so we can more easily work around issues with people + * stubbing out `process.nextTick()` in tests using sinon: + * https://github.com/sinonjs/lolex#automatically-incrementing-mocked-time + * See gh-6074 + */ + +'use strict'; + +module.exports = function immediate(cb) { + return process.nextTick(cb); +}; -- cgit v1.2.3