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

Stripe is putting out console warnings in tests

Aberta
#1,403 2 comentários 3 reações 0 responsáveis Ver no GitHub
Difficulty: Medium Priority: Low Skill: JavaScript Skill: Stripe Skill: Testing Time: 2 hours
Linguagem predominante
JavaScript
Estrelas
120
Forks
75
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

# 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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Execute os testes afetados com ember-exam e rastreie o console.warn do Stripe.js através da configuração de testes e integração. Determine se os testes entram em contato com a API do Stripe; considera-se concluído quando o aviso não poluir mais a saída dos testes, seja evitando sua causa, seja suprimindo-o intencionalmente quando for inevitável.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
testing-qa
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
32/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.