sr-npm 1.7.381 → 1.7.383

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/backend/data.js CHANGED
@@ -339,21 +339,19 @@ async function referenceJobs() {
339
339
  }
340
340
 
341
341
  async function syncJobsFast() {
342
- console.log("new log")
343
- console.log("new log2")
344
- // console.log("Syncing jobs fast");
345
- // await createCompanyIdCollectionAndFillIt();
346
- // await createCollections();
347
- // await clearCollections();
348
- // console.log("saving jobs data to CMS");
349
- // await saveJobsDataToCMS();
350
- // console.log("saved jobs data to CMS successfully");
351
- // console.log("saving jobs descriptions and location apply url to CMS");
352
- // await saveJobsDescriptionsAndLocationApplyUrlToCMS();
353
- // console.log("saved jobs descriptions and location apply url to CMS successfully");
354
- // await aggregateJobs();
355
- // await referenceJobs();
356
- // console.log("syncing jobs fast finished successfully");
342
+ console.log("Syncing jobs fast");
343
+ await createCompanyIdCollectionAndFillIt();
344
+ await createCollections();
345
+ await clearCollections();
346
+ console.log("saving jobs data to CMS");
347
+ await saveJobsDataToCMS();
348
+ console.log("saved jobs data to CMS successfully");
349
+ console.log("saving jobs descriptions and location apply url to CMS");
350
+ await saveJobsDescriptionsAndLocationApplyUrlToCMS();
351
+ console.log("saved jobs descriptions and location apply url to CMS successfully");
352
+ await aggregateJobs();
353
+ await referenceJobs();
354
+ console.log("syncing jobs fast finished successfully");
357
355
  }
358
356
 
359
357
  async function clearCollections() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.381",
3
+ "version": "1.7.383",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- const { executeApiRequest } = require('tests-utils');
1
+ const { executeApiRequest } = require('tests-utils/backend/utils');
2
2
  const { getRandomPosition } = require('./testsUtils');
3
3
 
4
4
  describe('Job details fetch from SR API Tests', () => {