fix test failures

This commit is contained in:
Mike Greiling 2017-03-22 03:26:12 -05:00
parent 5f7c0bd7b7
commit 9eae1812cd
3 changed files with 3 additions and 6 deletions

View file

@ -41,9 +41,9 @@ import GroupsList from './groups_list';
import ProjectsList from './projects_list';
import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater';
import UserCallout from './user_callout';
const ShortcutsBlob = require('./shortcuts_blob');
const UserCallout = require('./user_callout');
(function() {
var Dispatcher;

View file

@ -27,7 +27,7 @@ const USER_CALLOUT_TEMPLATE = `
</div>
</div>`;
class UserCallout {
export default class UserCallout {
constructor() {
this.isCalloutDismissed = Cookies.get(USER_CALLOUT_COOKIE);
this.userCalloutBody = $(userCalloutElementName);
@ -56,5 +56,3 @@ class UserCallout {
}
}
}
module.exports = UserCallout;

View file

@ -1,6 +1,5 @@
import Cookies from 'js-cookie';
const UserCallout = require('~/user_callout');
import UserCallout from '~/user_callout';
const USER_CALLOUT_COOKIE = 'user_callout_dismissed';