chore(client): ts-migrate Challenges/utils test (#44672)

* chore(challenges-utils): Change test util file extension

* chore(challenges-utils): typescript migration of Challenges util test
pull/44644/merge
Aleksa Kis 2022-01-04 16:59:50 +01:00 committed by GitHub
parent 51c2969555
commit 34a76659c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,8 @@
import { getGuideUrl } from './index';
import envData from '../../../../../config/env.json';
const { forumLocation } = envData;
const { getGuideUrl } = require('./');
describe('index', () => {
describe('getGuideUrl', () => {
it('should use forum topic url when forumTopicId is supplied', () => {

View File

@ -3,7 +3,7 @@ import envData from '../../../../../config/env.json';
const { forumLocation } = envData;
interface GuideData {
forumTopicId: number;
forumTopicId?: number;
title?: string;
}