mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
fix @steedos/filters unit test error
This commit is contained in:
parent
62c0c7e1b9
commit
474d75d0b3
@ -14,6 +14,6 @@ describe("format formula filter to odata query", () => {
|
||||
let filters = [["email", "=", "{user.email}"]];
|
||||
let result = formatFiltersToODataQuery(filters, userContext);
|
||||
console.log("odata filters query result:", result);
|
||||
expect(result).to.be.eq("(email eq 'test1@steedos.cn')");
|
||||
expect(result).to.be.eq(`(email eq '${encodeURIComponent("test1@steedos.cn")}')`);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user