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 7f2f2d7 commit 57eb46dCopy full SHA for 57eb46d
bin/__tests__/react-docgen-test.js
@@ -93,7 +93,7 @@ describe('react-docgen CLI', () => {
93
});
94
95
pit('reads from stdin', () => {
96
- return run(null, component).then(([stdout, stderr]) => {
+ return run([], component).then(([stdout, stderr]) => {
97
expect(stdout.length > 0).toBe(true);
98
expect(stderr.length).toBe(0);
99
@@ -176,14 +176,14 @@ describe('react-docgen CLI', () => {
176
177
178
pit('writes to stdout', () => {
179
180
181
182
183
184
185
pit('writes to stderr', () => {
186
- return run(null, '{}').then(([stdout, stderr]) => {
+ return run([], '{}').then(([stdout, stderr]) => {
187
expect(stderr.length > 0).toBe(true);
188
expect(stdout.length).toBe(0);
189
0 commit comments