lepu-test-platform-web/node_modules/p-try/index.js

5 lines
82 B
JavaScript
Raw Permalink Normal View History

'use strict';
module.exports = cb => new Promise(resolve => {
resolve(cb());
});