Break something to see if test failure works
Some checks failed
TenorJS-v2 Deploy Automation / build (push) Failing after 3s
Some checks failed
TenorJS-v2 Deploy Automation / build (push) Failing after 3s
This commit is contained in:
parent
ecfda281b3
commit
86a46e23e7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tenorjs-v2",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "A crappy wrapper for Tenor.com API",
|
||||
"main": "./src/index.js",
|
||||
"scripts": {
|
||||
|
@ -26,10 +26,11 @@ const tests = [
|
||||
tenor.configure()
|
||||
.then((result) => {
|
||||
console.log('FAIL: Invalid API Key');
|
||||
reject();
|
||||
return reject();
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('PASS: Invalid API Key --', error.message);
|
||||
return reject(error);
|
||||
resolve();
|
||||
});
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user