mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-06-17 01:51:29 +00:00
RefValue serde 구현. bump up version. 0.1.5
This commit is contained in:
@ -4,7 +4,7 @@ describe('compile test', () => {
|
||||
it('basic', (done) => {
|
||||
let template = jsonpath.compile('$.a');
|
||||
let result = template({'a': 1});
|
||||
if (result == 1) {
|
||||
if (result === 1) {
|
||||
done();
|
||||
}
|
||||
});
|
||||
@ -14,7 +14,7 @@ describe('selector test', () => {
|
||||
it('basic', (done) => {
|
||||
let selector = jsonpath.selector({'a': 1});
|
||||
let result = selector('$.a');
|
||||
if (result == 1) {
|
||||
if (result === 1) {
|
||||
done();
|
||||
}
|
||||
});
|
||||
@ -23,7 +23,7 @@ describe('selector test', () => {
|
||||
describe('select test', () => {
|
||||
it('basic', (done) => {
|
||||
let result = jsonpath.select({'a': 1}, '$.a');
|
||||
if (result == 1) {
|
||||
if (result === 1) {
|
||||
done();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user