added test file

This commit is contained in:
Vishwa Gaurav
2022-06-29 16:23:15 +05:30
parent f61aeec7e4
commit 531bec4d70

30
test.js
View File

@@ -1,17 +1,17 @@
const linkedIn = require('./index');
const linkedIn = require("./index");
const queryOptions = {
keyword: 'software engineer',
location: 'los angeles',
dateSincePosted: 'past Week',
jobType: 'full time',
remoteFilter: 'remote',
salary: '100000',
experienceLevel: 'entry level',
limit: '1',
sortBy: 'recent'
};
linkedIn.query(queryOptions).then(response => {
console.log(response); // An array of Job objects
});
keyword: "HR",
location: "India",
dateSincePosted: "past Week",
jobType: "full time",
remoteFilter: "remote",
salary: "100000",
experienceLevel: "entry level",
limit: "1",
sortBy: "recent",
};
linkedIn.query(queryOptions).then((response) => {
console.log(response); // An array of Job objects
});