Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Tracey thomas practice#7

Draft
traceythomasww wants to merge 9 commits intointern-practicefrom
TraceyThomas-Practice
Draft

Tracey thomas practice#7
traceythomasww wants to merge 9 commits intointern-practicefrom
TraceyThomas-Practice

Conversation

@traceythomasww
Copy link
Copy Markdown

Draft with analysis.

Comment thread server/DAO/MealtimeDAO.js Outdated
Comment thread server/routes/datesRoutes.js Outdated
Comment thread server/routes/datesRoutes.js Outdated
Comment thread server/routes/datesRoutes.js Outdated
Comment thread server/routes/postQueryAnalysis.js Outdated
Comment thread server/routes/postQueryAnalysis.js Outdated
Comment thread server/routes/postQueryAnalysis.js Outdated
Comment thread server/routes/postQueryAnalysis.js Outdated
Comment thread server/services/Parser.js
Comment thread server/controllers/__tests__/postQueryController.test.js Outdated
Copy link
Copy Markdown

@znorcross211 znorcross211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall great job! The concepts you worked on here will hopefully help you venturing into the wider CMX org.

Comment thread server/DAO/__fixtures__/dates.js
Comment thread server/DAO/__tests__/MealtimeDAO.test.js
Comment on lines +23 to +28
parseIt.mockImplementation(() => {
return {
getDate: getDateMock,
getAllDates: getAllDatesMock.mockReturnValue(dateFixtures)
}
})
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we discussed this but this could get extracted using the method described at the top of the docs here. Not vital for this but it is often used.
https://jestjs.io/docs/manual-mocks

Comment thread server/controllers/__tests__/datesControllers.test.js
Comment thread server/controllers/__tests__/datesControllersIntegration.test.js
Comment thread server/controllers/__tests__/mealtimesControllers.test.js
Comment thread server/controllers/__tests__/postQueryController.test.js
Comment thread server/controllers/__tests__/stopwordsControllers.test.js
Comment thread server/controllers/__tests__/stopwordsControllers.test.js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants