refactor: Move api token related files to ee

This commit is contained in:
Faruk AYDIN
2025-04-08 10:54:04 +02:00
parent 847197d28d
commit 616c1a92bc
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { describe, it, expect } from 'vitest';
import ApiToken from './api-token.js';
describe('ApiToken model', () => {
it('tableName should return correct name', () => {
expect(ApiToken.tableName).toBe('api_tokens');
});
it('jsonSchema should have correct validations', () => {
expect(ApiToken.jsonSchema).toMatchSnapshot();
});
});