restructure tests, add tests, remove dotenv#83
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
| // @ts-check | ||
|
|
||
| import { afterEach, describe, expect, it, jest } from "@jest/globals"; | ||
| import "@testing-library/jest-dom"; |
There was a problem hiding this comment.
I don't think we need this. There are no DOM assertions.
| // @ts-check | ||
|
|
||
| import { afterEach, describe, expect, it, jest } from "@jest/globals"; | ||
| import "@testing-library/jest-dom"; |
There was a problem hiding this comment.
I don't think we need this. There are no DOM assertions.
| // @ts-check | ||
|
|
||
| import { afterEach, describe, expect, it, jest } from "@jest/globals"; | ||
| import "@testing-library/jest-dom"; |
There was a problem hiding this comment.
I don't think we need this. There are no DOM assertions.
|
|
||
| import { afterEach, describe, expect, it, jest } from "@jest/globals"; | ||
| import "@testing-library/jest-dom"; | ||
| import axios from "axios"; |
There was a problem hiding this comment.
I don't think we need this. There are no DOM assertions.
| // @ts-check | ||
|
|
||
| import { afterEach, describe, expect, it, jest } from "@jest/globals"; | ||
| import "@testing-library/jest-dom"; |
There was a problem hiding this comment.
I don't think we need this. There are no DOM assertions.
apps/backend/jest.bench.config.js
Outdated
| "<rootDir>/tests/e2e/", | ||
| ], | ||
| testRegex: "(\\.bench)\\.(ts|tsx|js)$", | ||
| testMatch: ["<rootDir>/tests/bench/*.bench.{ts,tsx,js}"], |
There was a problem hiding this comment.
| testMatch: ["<rootDir>/tests/bench/*.bench.{ts,tsx,js}"], | |
| testMatch: ["<rootDir>/tests/bench/*.bench.{ts,js}"], |
I don't think we will have tsx files in backend
apps/backend/jest.e2e.config.js
Outdated
| testEnvironment: "node", | ||
| coverageProvider: "v8", | ||
| testMatch: ["<rootDir>/tests/e2e/**/*.test.js"], | ||
| testMatch: ["<rootDir>/tests/e2e/*.test.{ts,tsx,js}"], |
There was a problem hiding this comment.
I don't think we will have tsx files in backend
| testMatch: ["<rootDir>/tests/e2e/*.test.{ts,tsx,js}"], | |
| testMatch: ["<rootDir>/tests/e2e/*.test.{ts,js}"], |
| testEnvironment: "jsdom", | ||
| testMatch: [ | ||
| "<rootDir>/tests/*.test.{ts,tsx,js}", | ||
| "<rootDir>/tests/private-instance/*.test.{ts,tsx,js}", |
There was a problem hiding this comment.
| "<rootDir>/tests/private-instance/*.test.{ts,tsx,js}", | |
| "<rootDir>/tests/private-instance/*.test.{ts,js}", |
I don't think we will have tsx files in backend
| "<rootDir>/tests/*.test.{ts,tsx,js}", | ||
| "<rootDir>/tests/public-instance/*.test.{ts,tsx,js}", |
There was a problem hiding this comment.
| "<rootDir>/tests/*.test.{ts,tsx,js}", | |
| "<rootDir>/tests/public-instance/*.test.{ts,tsx,js}", | |
| "<rootDir>/tests/*.test.{ts,js}", | |
| "<rootDir>/tests/public-instance/*.test.{ts,js}", |
I don't think we will have tsx files in backend

dotenvbecause it's not being used