From 4db90945845cb2e18d1d6e83b6ab6cc51ab74356 Mon Sep 17 00:00:00 2001 From: daniel muniz Date: Fri, 24 Jan 2025 10:50:57 -0300 Subject: [PATCH] applying test --- src/test-app.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/test-app.js diff --git a/src/test-app.js b/src/test-app.js new file mode 100644 index 0000000..e14acbe --- /dev/null +++ b/src/test-app.js @@ -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); + } +})(); \ No newline at end of file