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

Unit tests for utilities and classes #5 #14

Merged
merged 11 commits into from
Dec 7, 2023

Conversation

philipperenzen
Copy link
Collaborator

@mightymax there are some issues with the .run() tests for Stage, Iterator, and Generator classes. These tests worked before, but now seem to fail and not produce any data (no code was changed regarding the workings of these classes and they work as expected, but not in the unit test).

Also noticed the Stage class's this.generator does not emit the this.emit('generatorResult', quadCount) - I added a comment for this in the class, I did notice it would slow down my test a bit, also the expected results would change if this is emitted.

#7 can be closed when a pipeline is started once this MR is reviewed and accepted.

Philippe Renzen added 5 commits December 5, 2023 13:32
Blocker: some .run() tests seem to fail, but worked before - unsure why this occurs
@philipperenzen philipperenzen force-pushed the feature/5/unit-tests-for-utilities-and-classes branch from 0bc16bb to 1dc3329 Compare December 5, 2023 12:32
src/lib/Stage.class.ts Outdated Show resolved Hide resolved
file:/new/file.txt Outdated Show resolved Hide resolved
file:/file.txt Outdated Show resolved Hide resolved
@mightymax mightymax merged commit 3c1a902 into main Dec 7, 2023
2 checks passed
@philipperenzen philipperenzen mentioned this pull request Dec 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants