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

Fix core tests on GameLoop #10

Open
Katreque opened this issue Dec 4, 2020 · 0 comments
Open

Fix core tests on GameLoop #10

Katreque opened this issue Dec 4, 2020 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Katreque
Copy link
Owner

Katreque commented Dec 4, 2020

The core tests from GameLoop are not working properly. The Sinon Spies calledOnce are returning false, even though the spied functions are called.

test('runGameIteration should work.', async (t) => {

test('runGameIteration should stop once stopGameIteration is called.', (t) => {

Maybe the spies are not being used properly or the runGameIteration function is not well structured.
Help is wanted since these tests assure the functioning of the engine.

@Katreque Katreque added bug Something isn't working help wanted Extra attention is needed labels Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant