chore(client): ts-migrate Challenges/utils test (#44672)
* chore(challenges-utils): Change test util file extension * chore(challenges-utils): typescript migration of Challenges util testpull/44644/merge
parent
51c2969555
commit
34a76659c1
|
@ -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', () => {
|
|
@ -3,7 +3,7 @@ import envData from '../../../../../config/env.json';
|
|||
const { forumLocation } = envData;
|
||||
|
||||
interface GuideData {
|
||||
forumTopicId: number;
|
||||
forumTopicId?: number;
|
||||
title?: string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue