Skip to content

Commit

Permalink
npx cds
Browse files Browse the repository at this point in the history
  • Loading branch information
patricebender committed Feb 7, 2025
1 parent e513416 commit b7eca8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres/test/cds-build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ afterEach(() => {
})

it('should run pg build with explicit build task', () => {
execSync('cds build --for postgres', { cwd: workDir })
execSync('npx cds build --for postgres', { cwd: workDir })
expect(fs.existsSync(path.join(dbDest, 'csn.json'))).to.be.true
})

it('should run pg build with production profile', () => {
execSync('cds build --production', { cwd: workDir })
execSync('npx cds build --production', { cwd: workDir })
expect(fs.existsSync(path.join(dbDest, 'csn.json'))).to.be.true
})

0 comments on commit b7eca8f

Please sign in to comment.