We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df91a2 commit 94f368eCopy full SHA for 94f368e
1 file changed
packages/header-parser/test/index.test.ts
@@ -122,13 +122,9 @@ describe("validatePackageJson", () => {
122
).toBeFalsy();
123
});
124
it("requires dependency versions to be strings", () => {
125
- expect(
126
- validatePackageJson(
127
- "hapi",
128
- { ...pkgJson, peerDependencies: { foo: 5 } },
129
- [],
130
- ),
131
- ).toEqual([`hapi's package.json has bad "peerDependencies": version for foo should be a string.`]);
+ expect(validatePackageJson("hapi", { ...pkgJson, peerDependencies: { foo: 5 } }, [])).toEqual([
+ `hapi's package.json has bad "peerDependencies": version for foo should be a string.`,
+ ]);
132
133
134
0 commit comments