File: test.js

package info (click to toggle)
node-window-size 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 132 kB
  • ctags: 6
  • sloc: makefile: 4; sh: 3
file content (8 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
var tap = require('tap');

tap.test('returns object with width and height', function (t) {
  var wsize = require('./');
  t.ok(~Object.keys(wsize).indexOf('width'));
  t.ok(~Object.keys(wsize).indexOf('height'));
  t.done();
});