diff --git a/services/MapService.js b/services/MapService.js index 9997e84..ee5b554 100644 --- a/services/MapService.js +++ b/services/MapService.js @@ -1,5 +1,5 @@ import {Client} from "@googlemaps/google-maps-services-js"; -import logger from "../utils/logger"; +import logger from '../utils/logger.js' class MapsService { diff --git a/tests/unit/controllers/bot.test.js b/tests/unit/controllers/bot.test.js index e6d999d..faba35f 100644 --- a/tests/unit/controllers/bot.test.js +++ b/tests/unit/controllers/bot.test.js @@ -9,8 +9,8 @@ const mapService = new MapsService() const ai = new AI(); const actionsService = new ActionService() -describe('Should test the Bot controller', () => { - it.only('It should take a trip plannign input and generate static route image and directions link.', async () => { +describe.only('Should test the Bot controller', () => { + it('It should take a trip plannign input and generate static route image and directions link.', async () => { const ask = "Can you plean a trip from Denver to Yellowstone national park?"; // identify source and destination