-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: foreign language in export (#3865)
- Loading branch information
1 parent
9df926e
commit 1c99bcf
Showing
5 changed files
with
95 additions
and
18 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
shared-helpers/__tests__/views/multiselectQuestions.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { cleanup } from "@testing-library/react" | ||
import { cleanMultiselectString } from "../../src/views/multiselectQuestions" | ||
|
||
afterEach(cleanup) | ||
|
||
describe("multiselectQuestions", () => { | ||
describe("cleanMultiselectString", () => { | ||
it("should remove expected characters", () => { | ||
expect( | ||
cleanMultiselectString("I'm a string, and I have a comma, period, and apostrophe.") | ||
).toBe("Im a string and I have a comma period and apostrophe") | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters