-
Notifications
You must be signed in to change notification settings - Fork 1
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
Minoka's eventstream puzzler draft #34
base: eventstream-puzzler
Are you sure you want to change the base?
Conversation
Minoka event stream puzzler
function written and working well
src/index.test.ts
Outdated
expect(true).toBeTruthy() | ||
describe('Event scoring function tests.', () => { | ||
|
||
describe('Tests for getting the highest scoring region in a event stream', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describe text should just be the function being tested. getHighestScoringRegions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the it
blocks describe exactly how the described function is being tested in each case.
src/index.test.ts
Outdated
}) | ||
}) | ||
|
||
describe('Tests for getting the total score of each region', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same. describe string should be function name.
src/index.test.ts
Outdated
}) | ||
}) | ||
|
||
describe('Test for getting the correct score for each event', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
1. Ticket:
Issue #none
2. What this does:
3. Media:
4. How to test:
pull down code and run
yarn test