File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " ReactTestingLibrary"
3- version = " 12.2.2 "
3+ version = " 12.2.3 "
44authors = [
55 " Ignacio Falk <flakolefluk@gmail.com>" ,
66 " Allan Jeremy <dev@allanjeremy.com>" ,
@@ -14,7 +14,7 @@ registry_index = true
1414[dependencies ]
1515LuauPolyfill = " github.com/roblox/luau-polyfill@1"
1616Promise = " github.com/roblox/roblox-lua-promise@3.3.0"
17- DomTestingLibrary = " github.com/roblox/dom-testing-library-lua@8.14.5-rotriever.1 "
17+ DomTestingLibrary = " github.com/roblox/dom-testing-library-lua@8.14.6 "
1818React = " github.com/roblox/roact-alignment@17.0.1-rc.16"
1919ReactRoblox = " github.com/roblox/roact-alignment@17.0.1-rc.16"
2020Scheduler = " github.com/roblox/roact-alignment@17.0.1-rc.16"
@@ -23,4 +23,4 @@ JestGlobals = "github.com/roblox/jest-roblox@3.0.0"
2323
2424[dev_dependencies ]
2525Jest = " github.com/roblox/jest-roblox@3.0.0"
26- LuauRegExp = { target = " github.com/Roblox/luau-regexp" , version = " 0.2.0" , package = " RegExp" }
26+ LuauRegExp = { target = " github.com/Roblox/luau-regexp" , version = " 0.2.0" , package = " RegExp" }
Original file line number Diff line number Diff line change 11local Packages = script .Parent .Parent
2+
3+ local TestsSetup = Packages :FindFirstChild (" TestsSetup" )
4+ assert (TestsSetup , " TestsSetup folder not found. Please make sure the folder exists in the root of the package." )
5+
6+ local SetupEnv = TestsSetup :FindFirstChild (" setup-env" )
7+ assert (SetupEnv , " setup-env file not found. Please make sure the file exists in the TestsSetup folder." )
8+
29return {
310 displayName = " Jest" ,
4- setupFilesAfterEnv = { Packages . TestsSetup [ " setup-env " ] },
11+ setupFilesAfterEnv = { SetupEnv },
512 testMatch = { " **/__tests__/**/*.spec" },
613}
You can’t perform that action at this time.
0 commit comments