mirror of
https://github.com/LukeHagar/plex-api-oauth.git
synced 2025-12-09 04:20:46 +00:00
Formatting
This commit is contained in:
12
test/index.test.js
Normal file
12
test/index.test.js
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user