Skip to content

Commit c2f35a0

Browse files
committed
3.1 description
1 parent e2778ea commit c2f35a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

coderoad/test/packagejson.test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,13 @@ describe("package.json", () => {
1515
'should have an "author" value that is a string'
1616
);
1717
});
18+
// 1.2
19+
it('should have a valid "description" key', () => {
20+
assert.ok(json.description, '"description" is missing');
21+
assert.equal(
22+
typeof json.description,
23+
"string",
24+
'should have a "description" value that is a string'
25+
);
26+
});
1827
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy