mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
fix unit tests
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
omit,
|
||||
toArray,
|
||||
} from 'lodash';
|
||||
import { content as Content } from '../../common';
|
||||
import common from '../../common';
|
||||
import logger from './logger';
|
||||
|
||||
const AMPLITUDE_TOKEN = nconf.get('AMPLITUDE_KEY');
|
||||
@@ -28,6 +28,8 @@ if (AMPLITUDE_TOKEN) amplitude = new Amplitude(AMPLITUDE_TOKEN);
|
||||
|
||||
let ga = googleAnalytics(GA_TOKEN);
|
||||
|
||||
const Content = common.content;
|
||||
|
||||
function _lookUpItemName (itemKey) {
|
||||
if (!itemKey) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user