Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Oct 23, 2017
1 parent 6ba3811 commit b49fd68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions test/unit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import Quill from '../quill.js';
import CodeBlock from '../formats/code';

Quill.register(CodeBlock, true); // Syntax version will otherwise be registered

import './helpers/unit.js';

Expand Down
6 changes: 0 additions & 6 deletions test/unit/formats/code.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
import Parchment from 'parchment';
import Delta from 'quill-delta';
import Editor from '../../../core/editor';
import CodeBlock from '../../../formats/code';


describe('Code', function() {
beforeEach(function() {
Parchment.register(CodeBlock);
});

it('newline', function() {
let editor = this.initialize(Editor, `
<pre></pre>
Expand Down

0 comments on commit b49fd68

Please sign in to comment.