mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-06-17 18:11:28 +00:00
Results do not match other implementations - js unit test
This commit is contained in:
@ -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();
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user