In my resolver in my server.js class I am trying to store info.variables in the mock store to later use in my test.js class via import mStore. I am running into an error saying variable does not exist in query and this makes sense because variables doesn't exist in Query. But is there a way to store info into the mock store and later retrieve using mStore.get?
resolver : store => ({
Query:{
Unit(_, args,context,info) =>
{
Mstore.set("Query","root","vars", info.variables)
}
})}