test written

This commit is contained in:
Wise Colt
2019-01-01 06:35:20 +03:00
parent a4008ebc08
commit 47f3b338db

View File

@@ -1,7 +1,7 @@
const GetFlix = require('../index');
const getflix = new GetFlix({ tmdbApiKey: 'f29e56ff85f361ff01b5c5403a343021' });
try {
const getflix = new GetFlix('f29e56ff85f361ff01b5c5403a343021');
getflix.getInfo('70143836', (res) => {
if (res.error) {
console.log(res.errorMsg);