Skip to content

Commit

Permalink
fixed part of oppia#10470: exploration features services
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkm10 committed Jan 8, 2021
1 parent b9dedc7 commit c10d6c9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions core/templates/services/exploration-features.service.spec.ts
Expand Up @@ -21,13 +21,14 @@ import { TestBed } from '@angular/core/testing';

import { ExplorationFeaturesService, ExplorationDataDict, ParamChanges } from
'services/exploration-features.service';
import { ExplorationFeatures } from './exploration-features-backend-api.service';

describe('ExplorationFeatureService', () => {
let explorationFeatureService: ExplorationFeaturesService = null;
let featureData = null;
let explorationData: ExplorationDataDict = null;
let explorationData2: ExplorationDataDict = null;
let testParamChanges: ParamChanges = null;
let explorationFeatureService: ExplorationFeaturesService;
let featureData: ExplorationFeatures;
let explorationData: ExplorationDataDict;
let explorationData2: ExplorationDataDict;
let testParamChanges: ParamChanges;

beforeEach(() => {
explorationFeatureService = TestBed.get(ExplorationFeaturesService);
Expand All @@ -37,6 +38,7 @@ describe('ExplorationFeatureService', () => {

featureData = {
isExplorationWhitelisted: true,
alwaysAskLearnersForAnswerDetails: true,
};
explorationData = {
param_changes: [testParamChanges],
Expand Down

0 comments on commit c10d6c9

Please sign in to comment.