File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ postnumber: 19
1010
1111In this chapter we will be unit testing our mutation.
1212
13- In the tests folder, create a makeABooking.test.js file and add the following:
13+ In the ` tests ` folder, create a ` makeABooking.test.js ` file and add the following:
1414
1515``` javascript
1616import { makeABooking } from " ../src/resolvers/mutation" ;
@@ -49,13 +49,13 @@ describe("Make a booking", () => {
4949 }
5050` ` `
5151
52- 💣 We are creating a mutation in the args with the necessary data.
52+ 💣 We are creating a mutation in the ` args` with the necessary data.
5353
54- 💣 Next we are making sure we get back a bookingId that the charge matches what we expect it to be.
54+ 💣 Next we are making sure we get back a ` bookingId` that the charge matches what we expect it to be.
5555
5656Then go to your terminal and run the test:
5757
58- ` ` `
58+ ` ` ` javascript
5959$ yarn test makeABooking .test .js
6060` ` `
6161
You can’t perform that action at this time.
0 commit comments