From b4ce683190e6de6fd049f6bfaa16ef92b7f721f6 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Thu, 1 Oct 2015 21:56:14 -0500 Subject: [PATCH] Correct tests --- tasks/gulp-tests.js | 2 +- test/content/hatching-potions.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);