Skip to content

Commit

Permalink
Fix test that was not running.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoran Brondsema committed Nov 20, 2016
1 parent ff17b95 commit 1a98c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/utils/sanitization-utils-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global QUnit */

import { isUnsafeUri } from 'mobildoc-dom-renderer/utils/sanitization-utils';
import { isUnsafeUri } from 'mobiledoc-dom-renderer/utils/sanitization-utils';

const { test, module } = QUnit;

Expand All @@ -14,7 +14,7 @@ test('#isUnsafeUri', (assert) => {

for (let i = 0; i < unsafe.length; i++) {
let uri = unsafe[i];
assert.ok(isUnsafeUri(uri), `${uri} is unsafe`);
assert.ok(isUnsafeUri(uri), `${uri} should be unsafe`);
}

let safe = [
Expand All @@ -29,6 +29,6 @@ test('#isUnsafeUri', (assert) => {

for (let i = 0; i < safe.length; i++) {
let uri = safe[i];
assert.ok(! isUnsafeUri(uri), `${uri} is safe`);
assert.ok(! isUnsafeUri(uri), `${uri} should be safe`);
}
});

0 comments on commit 1a98c0e

Please sign in to comment.