Skip to content
Snippets Groups Projects
Commit 9eae1812 authored by Mike Greiling's avatar Mike Greiling
Browse files

fix test failures

parent 5f7c0bd7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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;
Loading
Loading
Loading
Loading
@@ -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);
Loading
Loading
@@ -56,5 +56,3 @@ class UserCallout {
}
}
}
module.exports = UserCallout;
import Cookies from 'js-cookie';
const UserCallout = require('~/user_callout');
import UserCallout from '~/user_callout';
 
const USER_CALLOUT_COOKIE = 'user_callout_dismissed';
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment