Skip to content

Commit

Permalink
Improving tests, syntax fixes.
Browse files Browse the repository at this point in the history
Refs #25
  • Loading branch information
dotpointer committed Sep 21, 2018
1 parent 28247e6 commit 5561e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@
});

test('_setQueryByPath(null, null) leaves query as an empty string', done => {
column._setQueryByPath(null, null)
column._setQueryByPath(null, null);
assert.equal(column.query, '');
done();
});

test('_setQueryByPath(\'1.8.10\', tree) sets query to Root / Company Pjqcakmiyx / Company Dyzljcycik', done => {
column.keyProperty = 'pathLocator';
column.valueProperty = 'name';
column._setQueryByPath('1.8.10', tree)
column._setQueryByPath('1.8.10', tree);
assert.equal(column.query, 'Root / Company Pjqcakmiyx / Company Dyzljcycik');
done();
});
Expand Down

0 comments on commit 5561e0f

Please sign in to comment.