Flow Coverage Report - src/utils/defer.js
Go back to all files summary.
Filename
Percent
Total
Covered
Uncovered
src/utils/defer.js
100 %
19
19
0
Uncovered Locations
ES6/ES7
JavaScript
None
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow export default function defer() { let resolve = () => {}; let reject = () => {}; const promise: Promise<any> = new Promise((_res, _rej) => { resolve = _res; reject = _rej; }); return { resolve, reject, promise }; }
{"expressions":{"covered_count":19,"uncovered_count":0,"uncovered_locs":[]},"percent":100}