File: test.js

package info (click to toggle)
node-ansi-escapes 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 180 kB
  • ctags: 15
  • sloc: makefile: 4; sh: 2
file content (8 lines) | stat: -rw-r--r-- 216 bytes parent folder | download
1
2
3
4
5
6
7
8
var assert = require('assert');
var m = require('./');

test('main', function() {
	assert(Object.keys(m).length > 0);
	assert.equal(typeof m.cursorTo, 'function');
	assert.equal(m.cursorTo(2, 2), '\u001b[3;3H');
});