arunoda / laika

testing framework for meteor
http://arunoda.github.io/laika/
MIT License
242 stars 38 forks source link

Laika destroys dates when passed using eval #139

Open cwohlman opened 10 years ago

cwohlman commented 10 years ago

When you pass objects using eval, Laika doesn't preserve dates as dates, but instead converts them to strings.

This is likely the result of laika using JSON.parse instead of the Meteor (EJSON?) equivalent.

apendua commented 9 years ago

@cwohlman Yes, exactly. Using EJSON would probably solve this issue.