Skip to content

Commit

Permalink
Reorganize unit tests for visitString
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessPickles committed Apr 16, 2018
1 parent c683ac7 commit 1b0d193
Show file tree
Hide file tree
Showing 2 changed files with 407 additions and 808 deletions.
24 changes: 12 additions & 12 deletions tests/mapString.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ describe("mapString", () => {
describe("Without null/undefined", () => {
runTests(
{
["r"]: "Red!",
["g"]: "Green!",
["b"]: "Blue!"
r: "Red!",
g: "Green!",
b: "Blue!"
},
[
{
Expand Down Expand Up @@ -184,9 +184,9 @@ describe("mapString", () => {
describe("With null", () => {
runTests(
{
["r"]: "Red!",
["g"]: "Green!",
["b"]: "Blue!",
r: "Red!",
g: "Green!",
b: "Blue!",
handleNull: "Null!"
},
[
Expand Down Expand Up @@ -229,9 +229,9 @@ describe("mapString", () => {
describe("With undefined", () => {
runTests(
{
["r"]: "Red!",
["g"]: "Green!",
["b"]: "Blue!",
r: "Red!",
g: "Green!",
b: "Blue!",
handleUndefined: "Undefined!"
},
[
Expand Down Expand Up @@ -274,9 +274,9 @@ describe("mapString", () => {
describe("With null and undefined", () => {
runTests(
{
["r"]: "Red!",
["g"]: "Green!",
["b"]: "Blue!",
r: "Red!",
g: "Green!",
b: "Blue!",
handleNull: "Null!",
handleUndefined: "Undefined!"
},
Expand Down
Loading

0 comments on commit 1b0d193

Please sign in to comment.