adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments

Fragments part of Mirage factories

未关闭
#282 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
367
派生
108
PR 合并指标
30 天内没有已合并 PR

描述

I have a model with fragments, i want to create a `ember-cli-mirage` factory for the same model. I am not having any clue how can i make fragment part of the factory, because the fragment data is not populated in the model in my Acceptance tests but in development it's working fine.
Any help would be much appreciated!

贡献指南

打开贡献指南

调研方向

Start with the model's fragment definition and the ember-cli-mirage factory used by the acceptance test; compare that setup with the development data path. Reproduce the missing fragment data in the acceptance environment and identify the relevant test location. Done means the factory populates fragments in acceptance tests and the behavior has regression coverage.

由索引模型根据 Issue 内容生成。

评估

领域
testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。