tl-its-umich-edu / canvas-course-manager-next

Canvas Course Manager Next: A redesign of the existing CCM application. It extends Canvas features, makes cumbersome features easier to use, and adds new features.
8 stars 9 forks source link

Extract core setup to provide basic fix to end-to-end test (#237) #368

Closed ssciolla closed 2 years ago

ssciolla commented 2 years ago

This PR moves the core setting up of middleware and options (needed by both the main process and testing processes) into a separate function, which is then called in both main.ts and app.e2e-spec.ts. The PR aims to resolve #237.

Reminder of testing instructions: 1) Start up application using docker compose up 2) Enter running container: docker exec -it ccm-web /bin/bash 3) Run end-to-end test: npm run test:e2e