mindhivefi / ts-mock-firebase

Mock for firebase services on web and admin
Apache License 2.0
25 stars 15 forks source link

Maximum call stack size exceeded with reference type field #124

Closed anthony-bernardo closed 4 years ago

anthony-bernardo commented 4 years ago

When I try to test something with an reference in it (to create a reference field type), I get :

RangeError: Maximum call stack size exceeded

This is the line causing this :

const iconRef = this.db.doc(icons/${iconID}`)