Disable resourcePrefix snakecase in FilterBuilder - it was making it impossible to...
[arvados.git] / src / services / api / order-builder.test.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { OrderBuilder } from "./order-builder";
6
7 describe("OrderBuilder", () => {
8     it("should build correct order query", () => {
9         const order = new OrderBuilder()
10             .addAsc("kind")
11             .addDesc("modifiedAt")
12             .getOrder();
13         expect(order).toEqual("kind asc,modified_at desc");
14     });
15 });