Files
plex-api-oauth/test/index.test.js
luke-hagar-sp 4a6e35529e Formatting
2022-07-26 08:18:30 -05:00

13 lines
414 B
JavaScript

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);
});
});