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

Commitdfbce66

Browse files
committed
6.1 version
1 parenteffa4b7 commitdfbce66

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
@@ -45,4 +45,13 @@ describe("package.json", () => {
4545
'should have a "license" value that is a string, e.g. "MIT"'
4646
);
4747
});
48+
// 1.5
49+
it('should have a valid "version" key',()=>{
50+
assert.ok(json.version,'"version" is missing');
51+
assert.equal(
52+
typeofjson.version,
53+
"string",
54+
'should have a "version" value that is a string'
55+
);
56+
});
4857
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp