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
duckOP4w ago
cc @littensy @lisachandra
PepeElToro41
PepeElToro414w ago
loadstring isnt plugin security
duck
duckOP4w ago
uh
PepeElToro41
PepeElToro414w ago
but you need to activate a setting I think
duck
duckOP4w 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
PepeElToro414w ago
yeah, that one would do it it's weird that it still gives you the error
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?