this repo has no description
atproto bluesky typescript express

remove bg test since it's kinda useless

+1 -20
-3
.tangled/workflows/test.yml
··· 16 16 17 17 - name: test resolver 18 18 command: npm run test:resolver 19 - 20 - - name: test background 21 - command: npm run test:bg
+1 -2
package.json
··· 27 27 }, 28 28 "scripts": { 29 29 "start": "tsx src/index.ts", 30 - "test:resolver": "tsx src/tests/resolver.test.ts", 31 - "test:bg": "tsx src/tests/bg.test.ts" 30 + "test:resolver": "tsx src/tests/resolver.test.ts" 32 31 } 33 32 }
-15
src/tests/bg.test.ts
··· 1 - import { AtpAgent } from "@atproto/api"; 2 - import { getBackground, backgroundToBase64 } from "../lib/theme.js"; 3 - 4 - const pdsAgent = new AtpAgent({ 5 - // this would be updated once i switch to a different PDS 6 - service: "https://shiitake.us-east.host.bsky.network", 7 - }); 8 - 9 - getBackground( 10 - pdsAgent, 11 - "did:plc:vro3sykit2gjemuza2pwvxwy", 12 - "bafkreifzguxskzjgaim5w4x4d7ejmej2e3efqzvwtrinhfymjwpvztudbi", 13 - ).then((response) => { 14 - console.log(response); 15 - });