feat(nacos): add Nacos dashboard metrics
This commit is contained in:
@@ -31,6 +31,7 @@ test("non-release assets retain their official download link", () => {
|
||||
|
||||
test("catalog falls back from R2 to CNB without using GitHub API", async () => {
|
||||
const requestedUrls: string[] = [];
|
||||
const accessVersion = driverVersions.access;
|
||||
vi.stubGlobal(
|
||||
"fetch",
|
||||
vi.fn(async (input: string | URL | Request) => {
|
||||
@@ -42,9 +43,9 @@ test("catalog falls back from R2 to CNB without using GitHub API", async () => {
|
||||
return Response.json({
|
||||
drivers: {
|
||||
access: {
|
||||
version: "0.1.30",
|
||||
version: accessVersion,
|
||||
jar: {
|
||||
url: "https://github.com/t8y2/dbx/releases/download/agents-v0.2.64/dbx-agent-access-0.1.30.jar",
|
||||
url: `https://github.com/t8y2/dbx/releases/download/agents-v0.2.64/dbx-agent-access-${accessVersion}.jar`,
|
||||
size: 1,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user