Skip to content

Commit

Permalink
added trackinf to tldr; example
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Mar 12, 2021
1 parent b3dfbb9 commit 09e3e25
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Simply run ` npm test ` and the coverage files will be added to the `./coverage`

```js

import {Order,Customer,Item,Payment,NearbyStores} from 'dominos';
import {Order,Customer,Item,Payment,NearbyStores,Tracking} from 'dominos';

//extra cheese thin crust pizza
const pizza=new Item(
Expand Down Expand Up @@ -177,6 +177,12 @@ try{

console.log('\n\nPlaced Order\n\n');
console.dir(order,{depth:3});

const tracking=new Tracking();

const trackingResult=await tracking.byPhone(customer.phone);

console.dir(trackingResult,{depth:1});
}catch(err){
console.trace(err);

Expand All @@ -191,6 +197,8 @@ try{
}




```

# Legacy CommonJS support
Expand Down

0 comments on commit 09e3e25

Please sign in to comment.