Skip to content

Commit 22564c8

Browse files
committedJan 19, 2020
Updated unit tests
1 parent dc5f7b2 commit 22564c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎__tests__/tasks/discover.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const fs = require('fs-extra');
55
const utils = require('../../src/utils.js');
66
const task = require('../../src/tasks/discover.js');
77

8+
// FIXME: Memory fs
89
describe('task > package:discover', () => {
910
const root = temp.mkdirSync('osjs-cli-jest');
1011
const fname = str => path.resolve(root, str);

‎__tests__/tasks/scaffold.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('task > make:*', () => {
106106
});
107107

108108
expect(fs.readdirSync(fname('src/packages/StandardApplication')))
109-
.toHaveLength(7);
109+
.toHaveLength(6);
110110
});
111111
});
112112

@@ -120,7 +120,7 @@ describe('task > make:*', () => {
120120
});
121121

122122
expect(fs.readdirSync(fname('src/packages/IframeApplication')))
123-
.toHaveLength(6);
123+
.toHaveLength(5);
124124
});
125125
});
126126
});

0 commit comments

Comments
 (0)
Please sign in to comment.