Fix test.
This commit is contained in:
parent
afbf42173d
commit
21d1885fc5
|
@ -1 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="99" height="18"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-opacity=".3"/><stop offset="1" stop-opacity=".5"/></linearGradient><rect rx="4" width="99" height="18" fill="#555"/><rect rx="4" x="63" width="36" height="18" fill="#a4a61d"/><path fill="#a4a61d" d="M63 0h4v18h-4z"/><rect rx="4" width="99" height="18" fill="url(#a)"/><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="32.5" y="13" fill="#010101" fill-opacity=".3">coverage</text><text x="32.5" y="12">coverage</text><text x="80" y="13" fill="#010101" fill-opacity=".3">81%</text><text x="80" y="12">81%</text></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="110" height="18"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-opacity=".3"/><stop offset="1" stop-opacity=".5"/></linearGradient><rect rx="4" width="110" height="18" fill="#555"/><rect rx="4" x="63" width="47" height="18" fill="#a4a61d"/><path fill="#a4a61d" d="M63 0h4v18h-4z"/><rect rx="4" width="110" height="18" fill="url(#a)"/><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="32.5" y="14" fill="#010101" fill-opacity=".3">coverage</text><text x="32.5" y="13">coverage</text><text x="85.5" y="14" fill="#010101" fill-opacity=".3">81.1%</text><text x="85.5" y="13">81.1%</text></g></svg>
|
Before Width: | Height: | Size: 816 B After Width: | Height: | Size: 827 B |
5
test.js
5
test.js
|
@ -72,7 +72,10 @@ describe('the server', function() {
|
|||
// Start running the server.
|
||||
it('should start', function(done) {
|
||||
server = cproc.spawn('node', ['ass-stubs/server-test.js', port]);
|
||||
server.stdout.on('data', function(data) { done(); });
|
||||
var isDone = false;
|
||||
server.stdout.on('data', function(data) {
|
||||
if (!isDone) { done(); isDone = true; }
|
||||
});
|
||||
server.stderr.on('data', function(data) { console.log(''+data); });
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user