code-corps / code-corps/code-corps-ember

Stripe is putting out console warnings in tests

Đang mở
#1,403 2 bình luận 3 reaction 0 người được giao Xem trên GitHub
Difficulty: Medium Priority: Low Skill: JavaScript Skill: Stripe Skill: Testing Time: 2 hours
Ngôn ngữ chính
JavaScript
Star
120
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Problem

A bunch of our tests, when executed, output a `console.warn` into the terminal, with

```
You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.
```

This pollutes the test output, which

- makes it more difficult to see which test failed when executing `ember-exam`
- makes it more difficult to see why and which tests failed on circle
- implies our tests may be contacting the stripe API, which possibly should not have to happen

We should

- identify where the warning is being called
- figure out if it's due to contacting the stripe API
- figure out how to either avoid, or, if not possible, squelch it

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

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

Đánh giá

Issue này chưa được đánh giá.

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.