Skip to content

Commit df4b407

Browse files
Fix dev-dependencies and test files requires (#41)
* Fix dev-dependencies and test files requires React was setup before Jest, so tests were never executed when I initially ported the project to npm and wally. React could not even depend on the jest packages. This PR is a first step towards making the test suite run: it corrects a lot of the requires in test files and also define each dev-dependency. This PR also enables the `@jsdotlua/react-noop-renderer` and `@jsdotlua/jest-react` to now be published! * fix format to skip snapshots
1 parent 2e652e7 commit df4b407

File tree

128 files changed

+710
-213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+710
-213
lines changed

.darklua.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"process": [
2+
"rules": [
33
{
44
"rule": "inject_global_value",
55
"identifier": "__DEV__",

.styluaignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
*.snap.lua
1+
*.snap.luau

foreman.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ rojo = { source = "rojo-rbx/rojo", version = "7.3.0" }
33
selene = { source = "Kampfkarren/selene", version = "0.26.1" }
44
stylua = { source = "JohnnyMorganz/StyLua", version = "=0.15.1" }
55
wally = { github = "UpliftGames/wally", version = "=0.3.2" }
6-
luau-lsp = { github = "johnnymorganz/luau-lsp", version = "=1.23.0" }
7-
darklua = { github = "seaofvoices/darklua", version = "=0.12.1" }
6+
luau-lsp = { github = "johnnymorganz/luau-lsp", version = "=1.35.0" }
7+
darklua = { github = "seaofvoices/darklua", version = "=0.14.0" }
88
lune = { github = "filiptibell/lune", version = "0.7.11" }

0 commit comments

Comments
 (0)