MCPcopy Create free account
hub / github.com/RealDevSquad/website-backend / addUserToDBForTest

Function addUserToDBForTest

utils/users.js:7–9  ·  view source on GitHub ↗
(userData)

Source from the content-addressed store, hash-verified

5const discordService = require("../services/discordService");
6const ROLES = require("../constants/roles");
7const addUserToDBForTest = async (userData) => {
8 await userModel.add(userData);
9};
10
11/**
12 * Used for receiving userId when providing username

Callers 1

auth.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected