refactor(tests): remove BOT_TOKEN from environment mocks in order and slots tests

- Eliminated the hardcoded BOT_TOKEN from the environment mock in both orders.test.js and slots.test.js to streamline test configurations and improve security practices.
This commit is contained in:
vchikalkin 2025-09-02 16:55:19 +03:00
parent 6b461c682b
commit ce75f0c13d
2 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@ vi.mock('./slots');
vi.mock('../config/env', () => {
return {
env: {
BOT_TOKEN: 'test',
LOGIN_GRAPHQL: 'test',
PASSWORD_GRAPHQL: 'test',
URL_GRAPHQL: 'test',

View File

@ -16,7 +16,6 @@ vi.mock('./services');
vi.mock('../config/env', () => {
return {
env: {
BOT_TOKEN: 'test',
LOGIN_GRAPHQL: 'test',
PASSWORD_GRAPHQL: 'test',
URL_GRAPHQL: 'test',