Skip to content

Commit

Permalink
fix api-gateway tests after changing empty order
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jun 27, 2024
1 parent 30bbe6d commit ed5e969
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/cubejs-api-gateway/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ describe('API Gateway', () => {
{
measures: ['Foo.bar'],
timezone: 'UTC',
order: [],
filters: [],
rowLimit: 10000,
limit: 10000,
Expand All @@ -297,7 +296,6 @@ describe('API Gateway', () => {
pivotQuery: {
measures: ['Foo.bar'],
timezone: 'UTC',
order: [],
filters: [],
rowLimit: 10000,
limit: 10000,
Expand Down Expand Up @@ -345,7 +343,6 @@ describe('API Gateway', () => {
{
measures: ['Foo.bar'],
timezone: 'UTC',
order: [],
filters: [{
member: 'Foo.bar',
operator: 'gte',
Expand Down Expand Up @@ -421,7 +418,6 @@ describe('API Gateway', () => {
{
measures: ['Foo.bar'],
timezone: 'UTC',
order: [],
filters: [],
rowLimit: 2,
limit: 2,
Expand All @@ -434,7 +430,6 @@ describe('API Gateway', () => {
pivotQuery: {
measures: ['Foo.bar'],
timezone: 'UTC',
order: [],
filters: [],
rowLimit: 2,
limit: 2,
Expand Down Expand Up @@ -736,7 +731,7 @@ describe('API Gateway', () => {
const res = await req;
expect(res.body).toMatchObject(successResult);
};

const wrongPayloadsTestFactory = ({ route, wrongPayloads, scope }: {

Check warning on line 735 in packages/cubejs-api-gateway/test/index.test.ts

View workflow job for this annotation

GitHub Actions / lint

'wrongPayloadsTestFactory' is assigned a value but never used. Allowed unused vars must match /^_.*/u
route: string,
method: string,
Expand Down

0 comments on commit ed5e969

Please sign in to comment.