mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
fix: remove project from ktx config
This commit is contained in:
parent
2bca308863
commit
71b911e61a
70 changed files with 178 additions and 323 deletions
|
|
@ -43,7 +43,7 @@ describe('standalone example docs', () => {
|
|||
assert.match(readme, /Accepted: 9/);
|
||||
assert.match(readme, /Review: 0/);
|
||||
assert.match(readme, /Rejected: 0/);
|
||||
assert.match(config, /project: orbit-relationship-verification/);
|
||||
assert.doesNotMatch(config, /^project:/m);
|
||||
assert.match(config, /orbit:/);
|
||||
assert.match(config, /driver: sqlite/);
|
||||
assert.match(
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ export function buildSeedSql() {
|
|||
|
||||
export function buildKtxYaml(postgresUrl) {
|
||||
return [
|
||||
'project: artifact-live-database',
|
||||
'connections:',
|
||||
' warehouse:',
|
||||
' driver: postgres',
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ describe('installed live-database artifact smoke helpers', () => {
|
|||
assert.equal(
|
||||
buildKtxYaml('postgresql://ktx:postgres@127.0.0.1:15432/warehouse'), // pragma: allowlist secret
|
||||
[
|
||||
'project: artifact-live-database',
|
||||
'connections:',
|
||||
' warehouse:',
|
||||
' driver: postgres',
|
||||
|
|
|
|||
|
|
@ -642,7 +642,6 @@ try {
|
|||
await writeFile(
|
||||
join(projectDir, 'ktx.yaml'),
|
||||
[
|
||||
'project: warehouse',
|
||||
'connections:',
|
||||
' warehouse:',
|
||||
' driver: sqlite',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue