adopted-ember-addons / adopted-ember-addons/ember-local-storage

resetStorages() on test reseting development Storage!

Đang mở
#324 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
documentation
Ngôn ngữ chính
JavaScript
Star
220
Fork
78
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello. I´m using ember-local-storage for tests. On the after hook I put resetStorages(). The issue that I´m having is that the development store is reseted too. Is there a way to only reset the store used on test?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by locating resetStorages() in the addon and inspect how it chooses the storage to clear. Reproduce the after-hook scenario described for ember-local-storage, then confirm that resetting the test store leaves the development store unchanged.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.