Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: upgrade sequelize and improve tests (#2723)
* feat(sequelize): create separate sequelize file * feat(sequelize): do naive migration * chore(sequelize): add some types packages * chore(sequelize): add some more types packages * feat(sequelize): successfully upgrade sequelize? * chore: improve typesafety for RSS * chore: add more @types packages * fix(sequelize): selectively upsert based on collectionId when available * fix(sequelize): rename exported model in associate method to please eslint * fix(sequelize): make tests run * jest >:( * fix(sequelize): fix facets and searchdata tests * fix(sequelize): remove esbuild-runner config * fix(jest): get around jest's override of setimmediate * fix(jest): fix memory leak issue with sequelize and supertest * fix(jest): fix memory leak issue with passport and express-slow-down * feat(jest): add custom test sequencer to sort tests and prioritize customScript tests to run first * fix(jest): remove unnecessary stuff from test commands * fix(jest): add @side/jest-runtime to prevent mem leak in node 18 * fix(jest): add proper teardown to tests with setup to prevent memory leak * chore(package.json): remove supertest-as-promised package from dependencies as it is no longer used in the project * chore: revert upgrades to ts, prettier, and eslint * chore: misc test stuff * fix: upgrade to typescript 4.5 to fix tsc errors in @types/jsdom * fix: revert eslint error * fix: fix esoteric eslint issues, to be dealt with later * fix: ignore weird eslint errors for now * fix: make jest exit with 0 with duplicate snapshots removed * chore: bring up to date with #2716 and #2718 * fix: remove unused code * fix: remove custom sequencer, initialize customScripts featureflag manually * chore: remove test files * chore: fix eslint errors
- Loading branch information