- Welcome to - - Next.js! - -
-
- Get started by editing
-
- pages/index.js
-
-
diff --git a/.circleci/config.yml b/.circleci/config.yml index f761a19..8196a3e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,30 +45,30 @@ jobs: - ./.next/cache - run: name: Check the code style - command: task tests:check-code-style + command: task tests:static:prettier:check - run: name: Lint the stylesheets - command: task tests:lint-css + command: task tests:static:css:lint - run: name: Lint the application code - command: task tests:lint-ts -- --format junit -o test_results/eslint.xml + command: task tests:static:ts:lint -- --format junit -o test_results/eslint.xml - run: name: Check the code typing - command: task tests:check-types + command: task tests:static:types:check - run: name: Run unit tests environment: JEST_JUNIT_OUTPUT_DIR: test_results JEST_JUNIT_OUTPUT_NAME: unit.xml - command: task tests:unit-tests -- --reporters=default --reporters=jest-junit + command: task tests:unit:run -- --reporters=default --reporters=jest-junit - run: name: Run component tests - command: task tests:component-tests-headless + command: task tests:component:headless - run: name: Run end-to-end tests command: | task run:database task run:migrate - task tests:e2e-tests-headless + task tests:e2e:headless - store_test_results: path: test_results diff --git a/TODO.md b/TODO.md index 6245ef6..17e83a3 100644 --- a/TODO.md +++ b/TODO.md @@ -1 +1,4 @@ -- Run the tasks directly in Dev Containers like before +- Configure Jest to be able to write tests in TypeScript +- Make Cypress tests run +- Make Cypress work with both Xorg and Wayland +- Run the tasks directly in Dev Containers like before? diff --git a/__tests__/__snapshots__/snapshot.js.snap b/__tests__/__snapshots__/snapshot.js.snap index fed3b42..e5b0e78 100644 --- a/__tests__/__snapshots__/snapshot.js.snap +++ b/__tests__/__snapshots__/snapshot.js.snap @@ -1,121 +1,39 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders homepage unchanged 1`] = ` +exports[`renders homepage 1`] = `
- Get started by editing
-
- pages/index.js
-
-
- Cypress will test if this link is working. -
- - -- Find in-depth information about Next.js features and API. -
- - -- Learn about Next.js in an interactive course with quizzes! -
- - -- Discover and deploy boilerplate example Next.js projects. -
- - -- Instantly deploy your Next.js site to a public URL with Vercel. -
- + I like to craft software.