chore: rephrase test descriptions

This commit is contained in:
jamesgeorge007 2020-03-14 18:38:37 +05:30
parent 93d5d00d1b
commit e4300d308b
1 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,10 @@ describe("Dependencies", () => {
for (const dep of Object.keys(content)) {
describe(dep, () => {
const info = content[dep];
it("should resolve to a npm package", () => {
it("should resolve to an npm package", () => {
expect(info.resolved).toMatch(/^https:\/\/registry\.yarnpkg\.com\//);
});
it("should have a integrity hash", () => {
it("should have an integrity hash", () => {
expect(info.integrity).toMatch(/^(sha1|sha512)-/);
});
});