Skip to content

Commit c3d9dad

Browse files
committed
Just me obsessing over word in ServiceUtils#configure unit test wording some more
1 parent 51b7c4f commit c3d9dad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/utilities/service-utils.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ describe("ServiceUtils", () => {
1717

1818
describe("configure", () => {
1919
test.each`
20-
cultureCode
20+
invalidCultureCode
2121
${null}
2222
${undefined}
2323
${""}
2424
${" "}
2525
`(
26-
"when supplied cultureCode of $cultureCode, configures baseUrl with default culture code",
27-
({ cultureCode }) => {
26+
"when supplied cultureCode is $invalidCultureCode, configures baseUrl with default culture code",
27+
({ invalidCultureCode }) => {
2828
// Arrange
2929
const expected = LocalizationUtils.defaultCultureCode().toLowerCase();
3030

3131
// Act
32-
ServiceUtils.configure(cultureCode);
32+
ServiceUtils.configure(invalidCultureCode);
3333

3434
// Assert
3535
expect(axios.defaults.baseURL).toContain(expected);

0 commit comments

Comments
 (0)