Skip to content

Commit

Permalink
✅ Fix tests with new mock
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Jan 17, 2023
1 parent 4c9ff39 commit f22b93b
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -335,7 +335,7 @@ describe('math completion', () => {
triggerCharacter: '(',
})
);
expect(results.list).toEqual(['bytes', 'memory']);
expect(results.list).toEqual(['bytes', 'memory', 'runtime-number']);
});

it('should autocomplete only operations that provide numeric or date output', async () => {
Expand All @@ -346,7 +346,13 @@ describe('math completion', () => {
triggerCharacter: '(',
})
);
expect(results.list).toEqual(['bytes', 'memory', 'timestamp', 'start_date']);
expect(results.list).toEqual([
'bytes',
'memory',
'runtime-number',
'timestamp',
'start_date',
]);
});

it('should autocomplete shift parameter with relative suggestions and a couple of abs ones', async () => {
Expand Down

0 comments on commit f22b93b

Please sign in to comment.