Break something to see if test failure works
Some checks failed
TenorJS-v2 Deploy Automation / build (push) Failing after 3s

This commit is contained in:
Skylar Grant 2024-09-22 20:04:14 -04:00
parent ecfda281b3
commit 86a46e23e7
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "tenorjs-v2", "name": "tenorjs-v2",
"version": "1.0.4", "version": "1.0.5",
"description": "A crappy wrapper for Tenor.com API", "description": "A crappy wrapper for Tenor.com API",
"main": "./src/index.js", "main": "./src/index.js",
"scripts": { "scripts": {

View File

@ -26,10 +26,11 @@ const tests = [
tenor.configure() tenor.configure()
.then((result) => { .then((result) => {
console.log('FAIL: Invalid API Key'); console.log('FAIL: Invalid API Key');
reject(); return reject();
}) })
.catch((error) => { .catch((error) => {
console.error('PASS: Invalid API Key --', error.message); console.error('PASS: Invalid API Key --', error.message);
return reject(error);
resolve(); resolve();
}); });
}), }),