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

Notebook: convert to named export

parent ebc15d5a
......@@ -5,7 +5,7 @@ import NotebookModal from './components/NotebookModal';
/** @typedef {import('../types/annotator').Destroyable} Destroyable */
/** @implements {Destroyable} */
export default class Notebook {
export class Notebook {
/**
* @param {HTMLElement} element
* @param {import('./util/emitter').EventBus} eventBus -
......
import { useEffect } from 'preact/hooks';
import { act } from 'preact/test-utils';
import Notebook, { $imports } from '../notebook';
import { Notebook, $imports } from '../notebook';
import { EventBus } from '../util/emitter';
describe('Notebook', () => {
......
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