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 22adaa4 commit a394f2fCopy full SHA for a394f2f
1 file changed
lib/extract/extract.spec.js
@@ -4,6 +4,7 @@ import {extract} from './extract.js';
4
5
const {branch, merge} = create({
6
cli: false,
7
+ maybeSimple: false,
8
});
9
10
const {parse, stringify} = JSON;
@@ -15,15 +16,10 @@ test('redlint: extract', (t) => {
15
16
branch,
17
}));
18
- const expected = {
19
- type: 'directory',
20
- filename: '/hello/world',
21
- files: [{
22
- type: 'file',
23
- filename: '/hello/world/README.md',
24
- content: '',
25
- }],
26
- };
+ const expected = [
+ '/hello/world/',
+ ['/hello/world/README.md', ''],
+ ];
27
28
t.deepEqual(result, expected);
29
t.end();
0 commit comments