Skip to content

Commit d11f033

Browse files
committed
update test
1 parent b3fee1e commit d11f033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/parsePostAnswerResponse.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('submit command', () => {
6868
correctAnswerDayIncomplete
6969
);
7070
expect(message).toBe(
71-
"That's the right answer! You are one gold star closer to collecting enough start fruit."
71+
"That's the right answer! You are one gold star closer to collecting enough star fruit."
7272
);
7373
});
7474

@@ -80,7 +80,7 @@ describe('submit command', () => {
8080
test('returns expected message if response: success, day complete', async () => {
8181
const { message } = await parsePostAnswerResponse(correctAnswerDayComplete);
8282
expect(message).toMatch(
83-
/That's the right answer! You are one gold star closer to collecting enough start fruit. You have completed Day \d+!/
83+
/That's the right answer! You are one gold star closer to collecting enough star fruit. You have completed Day \d+!/
8484
);
8585
});
8686

0 commit comments

Comments
 (0)