Skip to content

Commit d8968df

Browse files
committed
Fix dlx test expectations to match pinned version format
Update test package specs to use exact version '1.0.0' instead of '~1.0.0' to align with commit 62b3aea which removed tilde prefix from coana version specification.
1 parent b31f372 commit d8968df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/dlx.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('utils/dlx', () => {
6666
it('should place --silent before dlx for pnpm', async () => {
6767
const packageSpec: DlxPackageSpec = {
6868
name: '@coana-tech/cli',
69-
version: '~1.0.0',
69+
version: '1.0.0',
7070
}
7171

7272
await spawnDlx(packageSpec, ['run', '/some/path'], {
@@ -125,7 +125,7 @@ describe('utils/dlx', () => {
125125
it('should place --silent after --yes for npm', async () => {
126126
const packageSpec: DlxPackageSpec = {
127127
name: '@coana-tech/cli',
128-
version: '~1.0.0',
128+
version: '1.0.0',
129129
}
130130

131131
await spawnDlx(packageSpec, ['run', '/some/path'], {

0 commit comments

Comments
 (0)