Skip to content

Commit 911bb80

Browse files
author
Rachael McQuater
committed
Couple of final tweaks to ex1
1 parent 4e3ec63 commit 911bb80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

exercises/exercise-1/exercise.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ test("function types", () => {
8989
return x * 3;
9090
}
9191

92+
timesThree("hello");
93+
9294
/**
9395
* We can use a slightly different function declaration syntax:
9496
*/
@@ -258,6 +260,8 @@ test("supersets and structural compatibility", () => {
258260
return `That ${item.name} will be $${item.cost}`;
259261
}
260262

263+
priceStatement(apple);
264+
261265
type FlavoredFoodItem = {
262266
name: string;
263267
cost: number;
@@ -331,6 +335,7 @@ test("supersets and structural compatibility", () => {
331335
// })
332336
// /**************************************************************************/
333337

338+
// /**************************************************************************/
334339
// test("Writing a function with help from TS", () => {
335340
// /*
336341
// * ======================================================

0 commit comments

Comments
 (0)