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

Commit9652bd6

Browse files
committed
5.1 license
1 parent7212e90 commit9652bd6

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
@@ -36,4 +36,13 @@ describe("package.json", () => {
3636
'should include "freecodecamp"'
3737
);
3838
});
39+
// 1.4
40+
it('should have a valid "license" key',()=>{
41+
assert.ok(json.license,'"license" is missing');
42+
assert.equal(
43+
typeofjson.license,
44+
"string",
45+
'should have a "license" value that is a string, e.g. "MIT"'
46+
);
47+
});
3948
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp