From ce9fd9bdca0caa6a33ce37a01f41593ca42ba95b Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 2 Apr 2018 22:44:25 +1000 Subject: Start moving test suite from tape => jest --- test/lib-hello.js.mod | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/lib-hello.js.mod (limited to 'test/lib-hello.js.mod') 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; + } +}; -- cgit v1.2.3-70-g09d2