Commit ac12bdbb authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

BucketBar: convert to named export

parent 2d1b7010
......@@ -14,7 +14,7 @@ import { computeBuckets } from './util/buckets';
*
* @implements {Destroyable}
*/
export default class BucketBar {
export class BucketBar {
/**
* @param {HTMLElement} container
* @param {object} options
......
......@@ -6,7 +6,7 @@ import { ListenerCollection } from '../shared/listener-collection';
import { PortRPC } from '../shared/messaging';
import { annotationCounts } from './annotation-counts';
import BucketBar from './bucket-bar';
import { BucketBar } from './bucket-bar';
import { createAppConfig } from './config/app';
import { features } from './features';
import sidebarTrigger from './sidebar-trigger';
......
import BucketBar, { $imports } from '../bucket-bar';
import { BucketBar, $imports } from '../bucket-bar';
describe('BucketBar', () => {
let bucketBars;
......
......@@ -155,7 +155,7 @@ describe('Sidebar', () => {
$imports.$mock({
'../shared/frame-error-capture': { sendErrorsTo: fakeSendErrorsTo },
'../shared/messaging': { PortRPC: FakePortRPC },
'./bucket-bar': { default: FakeBucketBar },
'./bucket-bar': { BucketBar: FakeBucketBar },
'./config/app': { createAppConfig: fakeCreateAppConfig },
'./toolbar': {
ToolbarController: FakeToolbarController,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment