Skip to content

Commit

Permalink
Use correct version specification
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Feb 3, 2022
1 parent 6a0ac8d commit b7f8ed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/macros/tests/babel/dependency-satisfies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,13 @@ describe(`dependencySatisfies`, function () {
});

test(`in monorepos, the * dep is commonly used to mean "latest"`, () => {
project.addDependency('foo', '*');
project.addDependency('foo', '4.2.0-beta.1', project => {
project.pkg.dependencies = {
...project.pkg.dependencies,
foo: '*',
};
});

let code = transform(
`
import { dependencySatisfies } from '@embroider/macros';
Expand Down

0 comments on commit b7f8ed9

Please sign in to comment.