mardi 26 février 2019

question about commiting tests for react native on GIT

I have some tests that pass on my local machine. Now I want to "commit" the tests to GIT so I can have the CI/CD running the tests first.

My question is I cannot commit the test files to GIT.

There is nothing on

.gitignore

to ignore the tests...

Why are they not being committed to the repo?

modified:   src/Components/Checkbox/Text/__tests__/Text.js
modified:   src/Components/Checkbox/Text/__tests__/__snapshots__/Text.js.snap
modified:   src/Components/Checkbox/__tests__/CheckBox.js

I do

$git add .

$git commit -m "tests"

$git push

But the tests are not committed...

Aucun commentaire:

Enregistrer un commentaire