Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#13039 closed defect (fixed)

DataStore.js test failures

Reported by: bill Owned by: Kris Zyp
Priority: high Milestone: 1.7
Component: Data Version: 1.6.1
Keywords: dohfail Cc:
Blocked By: Blocking:


testQuery() is getting failures because it's comparing things like 2 to [2] and expecting them to be equal.

The errors aren't showing up in the final output because of a test problem that it assumes then() fires synchronously, where it doesn't. I'll update the test files for that, to properly report the error.

Change History (4)

comment:1 Changed 11 years ago by bill

(In [25113]) update test to properly report failures (rather than swallowing them because then are in a then()), refs #13039

comment:2 Changed 11 years ago by bill

Keywords: dohfail added

comment:3 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [25512]) Fix DataStore? tests, fixes #13039 !strict

comment:4 Changed 11 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.