feat(server): add pro quota to dev user (#6532)

This commit is contained in:
EYHN
2024-04-12 06:45:18 +00:00
parent 1e12d4a2cb
commit 9e7a2fcf0e
3 changed files with 14 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import ava, { TestFn } from 'ava';
import { CurrentUser } from '../../src/core/auth';
import { AuthService, parseAuthUserSeqNum } from '../../src/core/auth/service';
import { FeatureModule } from '../../src/core/features';
import { QuotaModule } from '../../src/core/quota';
import { UserModule, UserService } from '../../src/core/user';
import { createTestingModule } from '../utils';
@@ -18,7 +19,7 @@ const test = ava as TestFn<{
test.beforeEach(async t => {
const m = await createTestingModule({
imports: [FeatureModule, UserModule],
imports: [QuotaModule, FeatureModule, UserModule],
providers: [AuthService],
});