Open
Conversation
Added healthcheck for the database service and modified the dependency condition for the app service.
…d up. Essentially it was a result of the codebase manually creatting the DB with a user that didn’t have those permissions once the container had already initialized it. We dropped that extra CREATE step, pointed Docker and db.js at the environment-managed MySQL setup, and added an npm start script to package.json so the container boots essentially now it runs perfectly when starting up docker compose up build :)
…d model tests for getAllPatterns function. 1 simple test good to go.
… script to package.json
- Updated package.json to include testing dependencies: - Created a new test file test the rendering of the NavBar component, - Added jest.config.mjs to configure Jest with Next.js support and set the test environment to jsdom.
…ng based on pattern colors
… retrieve the patterns
… displaying pattern.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing Setup
Cypress E2E Tests