diff options
author | daurnimator <quae@daurnimator.com> | 2018-04-02 22:44:25 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-04-14 16:52:26 +1000 |
commit | ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b (patch) | |
tree | 946b66efd1f265c9ccb143b61d6c480929267673 /test/lib-hello.js.mod | |
parent | d67a6ab6688d315f521b3a2ebc0e018969213b21 (diff) | |
download | fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.gz fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.tar.bz2 fengari-ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b.zip |
Start moving test suite from tape => jest
Diffstat (limited to 'test/lib-hello.js.mod')
-rw-r--r-- | test/lib-hello.js.mod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lib-hello.js.mod b/test/lib-hello.js.mod new file mode 100644 index 0000000..d4c02e1 --- /dev/null +++ b/test/lib-hello.js.mod @@ -0,0 +1,8 @@ +const lua = require('../src/lua.js'); + +module.exports = { + "hello": function(L) { + lua.lua_pushliteral(L, "hello from js lib"); + return 1; + } +}; |