Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d2f583

Browse files
committed
3.1 description
1 parent46794ca commit1d2f583

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+
typeofjson.description,
23+
"string",
24+
'should have a "description" value that is a string'
25+
);
26+
});
1827
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp