R
roblox-ts2mo ago
duck

Using Lastest Jest

The latest vendor uses loadstring, how do you approach writing tests and execute them. I tried littensy's rbxts-jest-test repo and that will give me permission error since loadstring is plugin security. If I was to do this in a storybook with react, it would give me this weird blob of string and a "multiple runtime error". I saw littensy referring to this issue and resetting scripts at runtime. But this doesn't really help in terms of running the code without clicking run
No description
7 Replies
duck
duckOP2mo ago
cc @littensy @lisachandra
PepeElToro41
PepeElToro412mo ago
loadstring isnt plugin security
duck
duckOP2mo ago
uh
PepeElToro41
PepeElToro412mo ago
but you need to activate a setting I think
duck
duckOP2mo ago
where I put my code in TestService and I tried enabling EnableLoadstring or wtv property in ServerScriptService and still gives me that error
PepeElToro41
PepeElToro412mo ago
yeah, that one would do it it's weird that it still gives you the error
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?