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

Stripe is putting out console warnings in tests

オープン
#1,403 コメント 2 件 リアクション 3 件 担当者 0 名 GitHub で見る
Difficulty: Medium Priority: Low Skill: JavaScript Skill: Stripe Skill: Testing Time: 2 hours
主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

# 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。