Files
old-web/test/searchTest.js
2019-10-11 23:10:28 +02:00

12 lines
330 B
JavaScript

const { getRealEstateById } = require("../app/helpers/db/realEstate");
const {
notifyForNewRealEstates
} = require("../app/services/notificationService");
(async () => {
const realEstate1 = await getRealEstateById(83985);
const realEstate2 = await getRealEstateById(83984);
notifyForNewRealEstates([realEstate1]);
})();