Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis Error #2

Open
amandam2017 opened this issue Apr 14, 2022 · 4 comments
Open

Travis Error #2

amandam2017 opened this issue Apr 14, 2022 · 4 comments

Comments

@amandam2017
Copy link

Hi @avermeulen, the second last test is failing on travis. The results starts with Unisex, Female then Male instead of Male, Female and Unisex. However, locally all tests are passing.

ref: https://github.com/codex-academy/psql-refresher-workshop/blob/main/test/garments.test.js#L94-L107

@Gideon877
Copy link

@amandam2017 you not the only one.

@zenakhane
Copy link

i have the same problem

@OwethuSotomela
Copy link

I have the same issue, I'll wait for response

@Gideon877
Copy link

@OwethuSotomela @amandam2017 @zenakhane

Change your expected results to this. It should pass on travis but not locally

const expectedResult = [
			{
				count: '4',
				gender: 'Unisex'
			},
			{
				count: '16',
				gender: 'Female'
			},
			{
				count: '15',
				gender: 'Male'
			}
		]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants