We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb03487 commit a3be50aCopy full SHA for a3be50a
test/app.js
@@ -43,13 +43,13 @@ test('generates expected files', () => {
43
44
test('creates package.json correctly', () => {
45
assert.file('package.json');
46
- [
47
- '"name": "jekyllized"',
48
- '"description": "Test site for Jekyllized"',
49
- '"homepage": "www.test.com',
50
- '"name": "Ola Nordmann"',
51
- '"email": "ola.nordmann@gmail.com"'
52
- ].forEach(field => {
53
- assert.fileContent('package.json', field);
+ assert.jsonFileContent('package.json', {
+ name: 'jekyllized',
+ description: 'Test site for Jekyllized',
+ homepage: 'www.test.com',
+ author: {
+ name: 'Ola Nordmann',
+ email: 'ola.nordmann@gmail.com'
+ }
54
});
55
0 commit comments