Skip to content

Commit

Permalink
mock skills added for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilk429 committed Dec 24, 2024
1 parent 196f95d commit c2b5973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/tasks/task-dependency.test.js
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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);
Expand All @@ -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]) {
Expand Down

0 comments on commit c2b5973

Please sign in to comment.