test(step): write test for updateFor method in model

This commit is contained in:
Ali BARIN
2024-11-06 12:43:01 +00:00
parent ff49c747ba
commit 970d926563
3 changed files with 112 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import { faker } from '@faker-js/faker';
import Role from '../../src/models/role';
import Role from '../../src/models/role.js';
export const createRole = async (params = {}) => {
const name = faker.lorem.word();