mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-01 13:46:41 +00:00
Fix unit test
This commit is contained in:
parent
a2556dad06
commit
905aa26f27
@ -92,7 +92,11 @@ async function waitForComponentToPaint<P = unknown>(wrapper: ReactWrapper<P> | S
|
||||
describe("Documents tab (noSql API)", () => {
|
||||
describe("buildQuery", () => {
|
||||
it("should generate the right select query for SQL API", () => {
|
||||
expect(buildQuery(false, "")).toContain("select");
|
||||
expect(buildQuery(false, "", ['pk'], {
|
||||
paths: ['pk'],
|
||||
kind: 'Hash',
|
||||
version: 2,
|
||||
})).toContain("select");
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user