MCPcopy Index your code
hub / github.com/parse-community/parse-server / makeThreeTimeObjects

Function makeThreeTimeObjects

spec/ParseQuery.spec.js:2015–2031  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2013
2014 // Returns a promise for all the time objects
2015 function makeThreeTimeObjects() {
2016 const start = new Date();
2017 let one, two, three;
2018 return makeTimeObject(start, 1)
2019 .then(o1 => {
2020 one = o1;
2021 return makeTimeObject(start, 2);
2022 })
2023 .then(o2 => {
2024 two = o2;
2025 return makeTimeObject(start, 3);
2026 })
2027 .then(o3 => {
2028 three = o3;
2029 return [one, two, three];
2030 });
2031 }
2032
2033 it('time equality', function (done) {
2034 makeThreeTimeObjects().then(function (list) {

Callers 1

ParseQuery.spec.jsFile · 0.85

Calls 1

makeTimeObjectFunction · 0.85

Tested by

no test coverage detected