applying test
This commit is contained in:
10
src/test-app.js
Normal file
10
src/test-app.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
const app = require('./app');
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
try {
|
||||||
|
const categories = await app('www.facebook.com');
|
||||||
|
console.log(categories);
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error occurred:', error);
|
||||||
|
}
|
||||||
|
})();
|
||||||
Reference in New Issue
Block a user