Skip to content

Commit

Permalink
Update test code
Browse files Browse the repository at this point in the history
  • Loading branch information
easylogic committed Nov 22, 2018
1 parent 5227db9 commit 1ba6e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/base/module/LinkDialog.spec.js
Expand Up @@ -38,7 +38,7 @@ describe('LinkDialog', () => {
describe('LinkDialog', () => {
it('should check new window when target=_blank', () => {
range.createFromNode($editable.find('a')[0]).normalize().select();
context.invoke('editor.setLastRange')
context.invoke('editor.setLastRange');
dialog.show();

var checked = dialog.$dialog.find('#sn-checkbox-open-in-new-window').is(':checked');
Expand All @@ -47,7 +47,7 @@ describe('LinkDialog', () => {

it('should uncheck new window without target=_blank', () => {
range.createFromNode($editable.find('a')[1]).normalize().select();
context.invoke('editor.setLastRange')
context.invoke('editor.setLastRange');
dialog.show();

var checked = dialog.$dialog.find('#sn-checkbox-open-in-new-window').is(':checked');
Expand Down

0 comments on commit 1ba6e2b

Please sign in to comment.