chore: Resolve linting warnings
This commit is contained in:
@@ -5,7 +5,6 @@ import signale from 'signale';
|
||||
|
||||
import {prisma} from '../database/prisma.js';
|
||||
import {redis} from '../database/redis.js';
|
||||
import {ValidationError} from '../exceptions/index.js';
|
||||
import {Keys} from './keys.js';
|
||||
|
||||
import {WorkflowExecutionService} from './WorkflowExecutionService.js';
|
||||
|
||||
@@ -1342,7 +1342,6 @@ describe('SegmentService - Comprehensive Operator Tests', () => {
|
||||
it('should match contacts who have triggered the event', async () => {
|
||||
const prisma = getPrismaClient();
|
||||
const match = await factories.createContact({projectId});
|
||||
const noMatch = await factories.createContact({projectId});
|
||||
|
||||
// Create event for match contact
|
||||
await prisma.event.create({
|
||||
@@ -1365,7 +1364,6 @@ describe('SegmentService - Comprehensive Operator Tests', () => {
|
||||
it('should not match contacts who have not triggered the event', async () => {
|
||||
const prisma = getPrismaClient();
|
||||
const contact1 = await factories.createContact({projectId});
|
||||
const contact2 = await factories.createContact({projectId});
|
||||
|
||||
// Create different event
|
||||
await prisma.event.create({
|
||||
@@ -1682,10 +1680,6 @@ describe('SegmentService - Comprehensive Operator Tests', () => {
|
||||
projectId,
|
||||
data: {plan: 'basic'},
|
||||
});
|
||||
const noMatch2 = await factories.createContact({
|
||||
projectId,
|
||||
data: {plan: 'premium'},
|
||||
});
|
||||
|
||||
// match and noMatch1 have the event, but only match has premium plan
|
||||
await prisma.event.create({
|
||||
|
||||
Reference in New Issue
Block a user