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",
|
"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": {
|
||||||
|
@ -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();
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user