From bb49f2db2f2e7a99e63b4147ead9ee81765b8837 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 18 Nov 2023 03:45:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Bfix(tests)=20packagejs=20tests=20re?= =?UTF-8?q?named=20to=20nodejs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/tests/bau/nodejs.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests/bau/nodejs.lua b/tests/tests/bau/nodejs.lua index d8c70fd..f949816 100644 --- a/tests/tests/bau/nodejs.lua +++ b/tests/tests/bau/nodejs.lua @@ -1,10 +1,10 @@ --- This test file run all supported cases of use. ---- @usage :luafile ~/.local/share/nvim/lazy/compiler.nvim/tests/tests/bau/packagejs.lua +--- @usage :luafile ~/.local/share/nvim/lazy/compiler.nvim/tests/tests/bau/nodejs.lua -local bau = require("compiler.bau.packagejson") +local bau = require("compiler.bau.nodejs") -- Run nodejs javascript project -local example = vim.fn.stdpath "data" .. "/lazy/compiler.nvim/tests/examples/bau/packagejson/javascript-app" +local example = vim.fn.stdpath "data" .. "/lazy/compiler.nvim/tests/examples/bau/nodejs/javascript-app" vim.api.nvim_set_current_dir(example) bau.action("npm install") vim.wait(10000) -- wait time @@ -12,7 +12,7 @@ bau.action("npm start") vim.wait(1000) -- wait time -- Run nodejs typescript project -local example = vim.fn.stdpath "data" .. "/lazy/compiler.nvim/tests/examples/bau/packagejson/typescript-app" +local example = vim.fn.stdpath "data" .. "/lazy/compiler.nvim/tests/examples/bau/nodejs/typescript-app" vim.api.nvim_set_current_dir(example) bau.action("npm install") vim.wait(10000) -- wait time