UNPKG
bonescriptjtjk
Version:
latest (0.5.1)
0.5.1
Physical computing library for embedded Linux
github.com/jtjk/bonescript
jtjk/bonescript
bonescriptjtjk
/
test
/
test-sanity.js
13 lines
(10 loc)
•
305 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
//process.env.DEBUG = true;
exports
.
testSanity1
=
function
(
test
) { test.
expect
(
1
); test.
doesNotThrow
(
function
(
) {
var
b =
require
(
'bonescript'
);
console
.
log
(
'Name: '
+ b.
getPlatform
().
name
);
console
.
log
(
'Version: '
+ b.
getPlatform
().
bonescript
); }); test.
done
(); }