diff --git a/tasks/gulp-tests.js b/tasks/gulp-tests.js index 5cc3831f4a..27928369b5 100644 --- a/tasks/gulp-tests.js +++ b/tasks/gulp-tests.js @@ -11,7 +11,7 @@ const TEST_DB = 'habitrpg_test' const TEST_DB_URI = `mongodb://localhost/${TEST_DB}` -const API_TEST_COMMAND = 'mocha test/api --opts test/mocha.opts'; +const API_TEST_COMMAND = 'mocha test/api'; const COMMON_TEST_COMMAND = 'mocha test/common'; const CONTENT_TEST_COMMAND = 'mocha test/content --opts test/content/mocha.content.opts'; const KARMA_TEST_COMMAND = 'karma start'; diff --git a/test/content/hatching-potions.js b/test/content/hatching-potions.js index 06fca5aff2..0de17f14fa 100644 --- a/test/content/hatching-potions.js +++ b/test/content/hatching-potions.js @@ -1,8 +1,8 @@ -import hatchingPotions from '../../common/script/src/content/hatching-potions'; +import { all as potions } from '../../common/script/src/content/hatching-potions'; import {each} from 'lodash'; describe('Hatching Potion Locales', () => { - each(hatchingPotions, (potion, key) => { + each(potions, (potion, key) => { describe(`${key} Potion`, () => { it('has a valid text attribute', () => { expectValidTranslationString(potion.text);