mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-22 08:48:53 +00:00
fix default blessed-telnet test.
This commit is contained in:
parent
802e4ddc48
commit
524a922880
@ -116,7 +116,7 @@ function simpleTest(screen) {
|
|||||||
screen.render();
|
screen.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
var test = process.argv[2] || '../test/widget-shadow.js';
|
var test = process.argv[2] || path.resolve(__dirname, '../test/widget-shadow.js');
|
||||||
if (~test.indexOf('widget-png.js')) process.argv.length = 2;
|
if (~test.indexOf('widget-png.js')) process.argv.length = 2;
|
||||||
test = path.resolve(process.cwd(), test);
|
test = path.resolve(process.cwd(), test);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user