Skip to content

Commit

Permalink
restricted to failining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurvir committed Apr 19, 2024
1 parent 5110dcb commit 0924c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/controllers/agent.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('API tests for getResponse() function', () => {
expect(response.text).to.be.a('string');
})

it('Should return routes between two points along with route image with raw request', async () => {
it.only('Should return routes between two points along with route image with raw request', async () => {
const message = "Can you share routes between New Delhi and Mumbai?"
const response = await request(app).post('/webhook').send({
From: process.env.TEST_RECEPIENT_NUMBER,
Expand All @@ -57,7 +57,7 @@ describe('API tests for getResponse() function', () => {
expect(response.text).to.be.a('string');
})

it('Should select a route and get route map wit navigation link', async () => {
it.only('Should select a route and get route map wit navigation link', async () => {
const message = "Lets select the first one"
const response = await request(app).post('/webhook').send({
From: process.env.TEST_RECEPIENT_NUMBER,
Expand Down

0 comments on commit 0924c69

Please sign in to comment.