forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
eca14c5d08
commit
063d7e4637
2 changed files with 12 additions and 6 deletions
|
@ -4,6 +4,7 @@ import TagRenderingConfig from "../../../Models/ThemeConfig/TagRenderingConfig";
|
|||
import TagRenderingQuestion from "../../../UI/Popup/TagRenderingQuestion";
|
||||
import {UIEventSource} from "../../../Logic/UIEventSource";
|
||||
import { expect } from 'chai';
|
||||
import Locale from "../../../UI/i18n/Locale";
|
||||
|
||||
describe("TagRenderingQuestion", () => {
|
||||
|
||||
|
@ -27,6 +28,7 @@ describe("TagRenderingQuestion", () => {
|
|||
|
||||
it("should have a freeform text field with a type explanation", () => {
|
||||
|
||||
Locale.language.setData("en")
|
||||
const configJson = <TagRenderingConfigJson>{
|
||||
id: "test-tag-rendering",
|
||||
question: "Question?",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue