From c2b597385fe5a6e299d4d4ac85cb7a9cf7b2d0bc Mon Sep 17 00:00:00 2001 From: Sunil Kumar Date: Tue, 3 Dec 2024 01:29:14 +0500 Subject: [PATCH] mock skills added for testing --- __tests__/tasks/task-dependency.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/tasks/task-dependency.test.js b/__tests__/tasks/task-dependency.test.js index afb8fc72..b44971ba 100644 --- a/__tests__/tasks/task-dependency.test.js +++ b/__tests__/tasks/task-dependency.test.js @@ -1,4 +1,3 @@ -const API_BASE_URL = 'https://api.realdevsquad.com'; const SKILL_TREE_BACKEND_BASE_URL = 'https://services.realdevsquad.com/skilltree/v1'; const puppeteer = require('puppeteer'); @@ -8,7 +7,7 @@ const { users } = require('../../mock-data/users'); const { STAGING_API_URL } = require('../../mock-data/constants'); const { skills } = require('../../mock-data/skills'); -describe('Input box', () => { +describe('Task Form', () => { let browser; let page; jest.setTimeout(60000); @@ -31,6 +30,7 @@ describe('Input box', () => { [`${STAGING_API_URL}/levels`]: levels, [`${STAGING_API_URL}/users`]: users, [`${STAGING_API_URL}/tags`]: tags, + [`${SKILL_TREE_BACKEND_BASE_URL}/skills`]: skills, }; if (mockResponses[url]) {