Skip to content

Commit

Permalink
tests: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Nov 11, 2024
1 parent 2c0464e commit 234142f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/helpers/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { User, UserTip, UserBit } from '../../dest/database/entity/user.js';
import { Variable } from '../../dest/database/entity/variable.js';
import { getIsDbConnected, getIsBotStarted } from '../../dest/helpers/database.js';
import emitter from '../../dest/helpers/interfaceEmitter.js';
import translation from '../../dest/translate.js';
import translation from '../../dest/translations.js';
import { AppDataSource } from '../../dest/database.js';

export const cleanup = async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/tests/emotes/emotes_combo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import assert from 'assert';

import { getLocalizedName } from '../../../dest/helpers/getLocalizedName.js';

import { translate } from '../../../dest/translate.js';
import { translate } from '../../../dest/translations.js';
import { db, message, user } from '../../general.js';


Expand Down
2 changes: 1 addition & 1 deletion test/tests/scrim/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import assert from 'assert';
import { getLocalizedName } from '../../../dest/helpers/getLocalizedName.js';

import getBotUserName from '../../../dest/helpers/user/getBotUserName.js'
import { translate } from '../../../dest/translate.js';
import { translate } from '../../../dest/translations.js';
import('../../general.js');
import { db } from '../../general.js';
import { message } from '../../general.js';
Expand Down
2 changes: 1 addition & 1 deletion test/tests/tmi/redeem_command.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import('../../general.js');

import {cheer } from '../../../dest/helpers/events/cheer.js';
import {translate} from '../../../dest/translate.js'
import {translate} from '../../../dest/translations.js'
import { db } from '../../general.js';
import { message } from '../../general.js';
import { time } from '../../general.js';
Expand Down

0 comments on commit 234142f

Please sign in to comment.