You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`it should fail if not optional and no default provided 1`] = `
"[mobx-state-tree] Error while converting \`undefined\` to \`\\"hello\\"\`:
value \`undefined\` is not assignable to type: \`\\"hello\\"\` (Value is not a literal \\"hello\\"), expected an instance of \`\\"hello\\"\` or a snapshot like \`\\"hello\\"\` instead."
`;
exports[`it should throw if a different type is given 1`] = `
"[mobx-state-tree] Error while converting \`{\\"shouldBeOne\\":2}\` to \`TestFactory\`:
at path \\"/shouldBeOne\\" value \`2\` is not assignable to type: \`1\` (Value is not a literal 1), expected an instance of \`1\` or a snapshot like \`1\` instead."