mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
chore: minor updates in tests
This commit is contained in:
parent
339d81a240
commit
603d6d6fce
@ -96,7 +96,6 @@ describe('convertFiltersToExpressionWithExistingQuery', () => {
|
|||||||
existingQuery,
|
existingQuery,
|
||||||
);
|
);
|
||||||
|
|
||||||
// The function should return the original expression for now (until we fix the replacement logic)
|
|
||||||
expect(result.filters).toBeDefined();
|
expect(result.filters).toBeDefined();
|
||||||
expect(result.filter).toBeDefined();
|
expect(result.filter).toBeDefined();
|
||||||
expect(result.filter.expression).toBe("service.name = 'old-service'");
|
expect(result.filter.expression).toBe("service.name = 'old-service'");
|
||||||
@ -161,7 +160,7 @@ describe('convertFiltersToExpressionWithExistingQuery', () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should handle NOT IN operator conversion from equals', () => {
|
test('should handle IN operator conversion from equals', () => {
|
||||||
const filters = {
|
const filters = {
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user