Results do not match other implementations - js unit test

This commit is contained in:
freestrings
2019-06-17 12:21:32 +09:00
parent b41b9f3aa6
commit 909c851dcc
6 changed files with 22 additions and 4 deletions

View File

@ -797,4 +797,13 @@ describe('README test', () => {
done();
}
});
});
describe('ISSUE test', () => {
it('Results do not match other implementations #6', (done) => {
let result = jsonpath.select(["first", "second"], "$[:]");
if (JSON.stringify(result) === JSON.stringify(["first", "second"])) {
done();
}
});
});