Import from the right file
An import must match the name and kind of export a file provides.
your task
Repair only the imports in report.js. Keep both print lines. Each booking must show its hourly rate and total price.
report.js stops before it prints the rate or total. It already gets the booking hours from booking.js. Compare the remaining imports with the exports in rates.js and format.js.
Run code runs your code once for each case. It compares what your code prints with the expected output.
Starter code
or press Ctrl EnterNot run yet
cases
Not run yetA booking of 3 hours
Expected output
1
rate: 12.50 EUR2
total: 37.50 EURNot run yetA booking of 2 hours
Expected output
1
rate: 12.50 EUR2
total: 25.00 EUR