Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
fix issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
RiskyMH committed Dec 14, 2023
1 parent c7db861 commit 4ad3e82
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions apps/imgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.10.4",
"eslint": "^8.55.0",
"typescript": "^5.3.3"
},
Expand Down
3 changes: 2 additions & 1 deletion apps/imgen/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"outDir": "dist",
"baseUrl": "src",
"types": [
"bun-types"
"bun-types",
"@types/node"
],
"allowImportingTsExtensions": true,
"noEmit": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/apis/tests/reddit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe.skip("Reddit subreddit autocomplete", async () => {
it(`should get subreddits for query "${validQuery}" (length >= 1)`, async () => {
const result = await reddit.subredditAutoComplete(validQuery) ?? [];
expect(result).toBeTruthy();
expect(result?.length).not.toBeGreaterThanOrEqual(1);
expect(result?.length).toBeGreaterThanOrEqual(1);
});

const invalidQuery = "";
Expand Down
4 changes: 2 additions & 2 deletions packages/image-generation/tests/fun.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ describe("Cry", async () => {

it("should make an image with", async () => {
const text = "HELLO WORLD";
const img = await cry({ text })
expect(img).not.toBeTruthy()
const img = await cry({ text });
expect(img).toBeTruthy();
});

});
5 changes: 0 additions & 5 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,3 @@ await Bun.build({


export {};

somethingdoentexist! (


"
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ __metadata:
"@riskybot/image-generate": "workspace:^"
"@sapphire/shapeshift": "npm:^3.9.4"
"@types/express": "npm:^4.17.21"
"@types/node": "npm:^20.10.4"
discord-api-parser: "workspace:^"
discord-api-types: "npm:^0.37.66"
eslint: "npm:^8.55.0"
Expand Down

0 comments on commit 4ad3e82

Please sign in to comment.