8000 try · plotly/orca@4b18d37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b18d37

Browse files
committed
try
1 parent c252f8f commit 4b18d37

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/integration/plotly-graph-exporter_test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,3 @@ tap.test('should print help message', t => {
5252

5353
t.end()
5454
})
55-
56-
tap.test('should print export info on success', t => {
57-
const input = '{"data":[{"y":[1,2,1]}],"layout":{"title":"tester"}}'
58-
const subprocess = _spawn(t, input)
59-
60-
const matches = [
61-
/^exported fig/,
62-
/done with code 0/
63-
]
64-
65-
let i = 0
66-
67-
subprocess.stdout.on('data', d => {
68-
t.match(d.toString(), matches[i], `msg ${i}`)
69-
i++
70-
})
71-
72-
subprocess.stderr.on('data', d => {
73-
t.fail(d, 'unwanted msg to stderr')
74-
})
75-
})

0 commit comments

Comments
 (0)
0