Source:
GitHub
Error:
FAIL src/tests/db_controller.test.js
● Test suite failed to run
TypeError: require(...) is not a function
> 1 | const Sequelize = require("sequelize");
| ^
2 | const { DBController } = require("../controllers/db_controller");
3 | const db_options = require("../databases/database.options.json");
4 | const { build_model } = require("../models/model_builder");