test(webhook): resolve the real CLI rule from examples
This commit is contained in:
1 parent
3bf5edb5d5
commit
65509a225b
4 files changed
+5
-2
No files matched your search
@@ -15,7 +15,10 @@ import { describe, expect, it } from 'vitest'
|
||||
|
||||
const REPO_ROOT = fileURLToPath(new URL('../../..', import.meta.url))
|
||||
const BUILT_BIN = join(REPO_ROOT, 'apps/cli/lib/bin.js')
|
||||
const OVERLAY = fileURLToPath(new URL('./fixtures/github-webhook-real/cordis.yml', import.meta.url))
|
||||
const OVERLAY = fileURLToPath(new URL(
|
||||
'../../../examples/web-github-review/tests/fixtures/real-cli/cordis.yml',
|
||||
import.meta.url,
|
||||
))
|
||||
const SECRET = 'github-webhook-real-e2e-secret'
|
||||
const DELIVERY = 'github-webhook-real-e2e-delivery'
|
||||
const MARKER = 'DSH_GITHUB_WEBHOOK_REAL_E2E_OK'
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -33,7 +33,7 @@ const root = resolve(import.meta.dirname, '..')
|
||||
// These example files are overlays consumed by the built dsh app, so their bare
|
||||
// specifiers resolve from apps/cli rather than the examples workspace.
|
||||
const appOverlayFiles = new Set([
|
||||
'apps/cli/tests/fixtures/github-webhook-real/cordis.yml',
|
||||
'examples/web-github-review/tests/fixtures/real-cli/cordis.yml',
|
||||
'examples/web-cordis/cordis.yml',
|
||||
'examples/web-github-review/cordis.yml',
|
||||
'examples/web-schedule/cordis.yml',
|
||||
|
||||
Reference in new issue
Block a user