We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31bbe13 commit 3a5a010Copy full SHA for 3a5a010
ā.github/workflows/node.js.yaml
@@ -23,3 +23,8 @@ jobs:
23
- run: pnpm run build --noEmit
24
- run: pnpm run lint
25
- run: pnpm run test run
26
+ env:
27
+ BITBUCKET_CLOUD_USERNAME: ${{ secrets.BITBUCKET_CLOUD_USERNAME }}
28
+ BITBUCKET_CLOUD_APP_PASSWORD: ${{ secrets.BITBUCKET_CLOUD_APP_PASSWORD }}
29
+ BITBUCKET_SERVER_URL: ${{ secrets.BITBUCKET_SERVER_URL }}
30
+ BITBUCKET_SERVER_TOKEN: ${{ secrets.BITBUCKET_SERVER_TOKEN }}
ātests/server/repositories.test.ts
@@ -4,7 +4,5 @@ import { server } from "./client.js"
4
test("GET /api/latest/repos", async ({ expect }) => {
5
const got = await server.GET("/api/latest/repos")
6
7
- expect(got.data).toMatchObject({
8
- size: 1,
9
- })
+ expect(got.data?.size).toBeTypeOf("number")
10
})
0 commit comments