feat:wildcard domains for prod apps #2262
Open
Annotations
10 errors
Run pnpm test:
apps/dokploy/__test__/compose/domain/labels.test.ts#L273
AssertionError: expected [ …(4) ] to deeply equal [ …(4) ]
- Expected
+ Received
Array [
- "traefik.http.routers.test-app-1-websecure.rule=HostRegexp(`^[^.]+\\.example\\.com$`)",
+ "traefik.http.routers.test-app-1-websecure.rule=HostRegexp(`^[^\\.]+\\.example\\.com$`)",
"traefik.http.routers.test-app-1-websecure.entrypoints=websecure",
"traefik.http.services.test-app-1-websecure.loadbalancer.server.port=8080",
"traefik.http.routers.test-app-1-websecure.service=test-app-1-websecure",
]
❯ __test__/compose/domain/labels.test.ts:273:18
|
Run pnpm test:
apps/dokploy/__test__/compose/domain/labels.test.ts#L253
AssertionError: expected [ …(4) ] to deeply equal [ …(4) ]
- Expected
+ Received
Array [
- "traefik.http.routers.test-app-1-web.rule=HostRegexp(`^[^.]+\\.example\\.com$`)",
+ "traefik.http.routers.test-app-1-web.rule=HostRegexp(`^[^\\.]+\\.example\\.com$`)",
"traefik.http.routers.test-app-1-web.entrypoints=web",
"traefik.http.services.test-app-1-web.loadbalancer.server.port=8080",
"traefik.http.routers.test-app-1-web.service=test-app-1-web",
]
❯ __test__/compose/domain/labels.test.ts:253:18
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L360
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:360:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L341
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:341:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L326
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:326:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L309
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:309:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L299
AssertionError: expected 'HostRegexp(`^[^\.]+-dev\.api\.example…' to be 'HostRegexp(`^[^.]+-dev\.api\.example\…' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+-dev\.api\.example\.com$`)
+ HostRegexp(`^[^\.]+-dev\.api\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:299:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L287
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`) …' to be 'HostRegexp(`^[^.]+\.example\.com$`) &…' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`) && PathPrefix(`/api`)
+ HostRegexp(`^[^\.]+\.example\.com$`) && PathPrefix(`/api`)
❯ __test__/traefik/traefik.test.ts:287:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L276
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:276:22
|
Run pnpm test:
apps/dokploy/__test__/traefik/traefik.test.ts#L265
AssertionError: expected 'HostRegexp(`^[^\.]+\.example\.com$`)' to be 'HostRegexp(`^[^.]+\.example\.com$`)' // Object.is equality
- Expected
+ Received
- HostRegexp(`^[^.]+\.example\.com$`)
+ HostRegexp(`^[^\.]+\.example\.com$`)
❯ __test__/traefik/traefik.test.ts:265:22
|
Loading