fix: eslint warnings (#252)

This commit is contained in:
kimatata
2025-07-20 10:59:57 +09:00
committed by GitHub
parent e6be84b67e
commit 9ae67fd303
118 changed files with 423 additions and 511 deletions

View File

@@ -1,8 +1,8 @@
import { describe, it, expect, vi, beforeEach } from 'vitest';
import request from 'supertest';
import express from 'express';
import updateRoute from './update';
import { Sequelize } from 'sequelize';
import updateRoute from './update';
import { roles } from './authSettings';
const adminRoleIndex = roles.findIndex((entry) => entry.uid === 'administrator');
@@ -28,7 +28,7 @@ const mockUser = {
update: vi.fn(),
};
vi.mock('../../models/users', () => ({
default: (sequelize, DataTypes) => mockUser,
default: () => mockUser,
}));
// test