get rid of old tests + make lint issues disappear
parent
37f137881d
commit
285b2e69bf
@ -1,19 +0,0 @@
|
|||||||
import AO3 from "./src/classes/AO3.ts";
|
|
||||||
|
|
||||||
const ao3 = new AO3();
|
|
||||||
|
|
||||||
await ao3.authenticate(
|
|
||||||
Deno.env.get("AO3USERNAME") as string,
|
|
||||||
Deno.env.get("AO3PASSWORD") as string,
|
|
||||||
);
|
|
||||||
|
|
||||||
const res = await ao3.search({
|
|
||||||
fandoms: ["Murder Drones (Web Series)"],
|
|
||||||
limit: 10,
|
|
||||||
});
|
|
||||||
|
|
||||||
await res.update(1);
|
|
||||||
|
|
||||||
res.results.forEach(
|
|
||||||
(v) => console.log(v.name),
|
|
||||||
);
|
|
@ -1,12 +0,0 @@
|
|||||||
import AO3 from "./src/classes/AO3.ts";
|
|
||||||
|
|
||||||
const ao3 = new AO3();
|
|
||||||
|
|
||||||
const res = await ao3.search({
|
|
||||||
freeform: ["no beta read we die like sammy"],
|
|
||||||
limit: 1,
|
|
||||||
});
|
|
||||||
|
|
||||||
await res.update(1);
|
|
||||||
|
|
||||||
console.log(await res.results[0].chapters[0].text);
|
|
@ -1,17 +0,0 @@
|
|||||||
import AO3 from "./src/classes/AO3.ts";
|
|
||||||
import { assert } from "https://deno.land/std@0.161.0/testing/asserts.ts";
|
|
||||||
|
|
||||||
const ao3 = new AO3();
|
|
||||||
|
|
||||||
/* const res = await ao3.search({
|
|
||||||
any: "hazbin hotel",
|
|
||||||
limit: 1,
|
|
||||||
});
|
|
||||||
|
|
||||||
await res.update(1);
|
|
||||||
|
|
||||||
console.log(await res.results[0].chapters[0].text); */
|
|
||||||
|
|
||||||
let work = await ao3.getWork("43724875");
|
|
||||||
|
|
||||||
await work.init();
|
|
Loading…
Reference in new issue