Big Boy Updates

This commit is contained in:
Luke Hagar
2022-07-24 22:11:51 -05:00
parent 5942c95bc3
commit 480884abcd
1110 changed files with 178658 additions and 180 deletions

15
index.test.js Normal file
View File

@@ -0,0 +1,15 @@
import { PlexAPIOAuth, PlexLogin } from "./index.mjs";
import { strict as assert } from "assert";
describe("Login Test", function () {
let plexapioauth = new PlexAPIOAuth();
it("should be able to fail login", function () {
console.log(plexapioauth);
plexapioauth.generateClientId();
console.log(plexapioauth);
assert.strictEqual(PlexLogin(plexapioauth.plexClientInformation), null);
});
// it("should be able to successfully login", function () {
// assert.notEqual(PlexLogin(), null);
// });
});