Our blazing fast Grid component built with pure JavaScript
Hi,
I am trying to setup a Test File where we use the bryntum Grid.
But I get an error as soon as I start the test, because of the store that tries to load the data.
Is there a way to mock an AjaxStore for Angular Tests?
Greetings,
Phil
Hi Phil,
Try to specify path to JSON file as URL in your store.
store : {
createUrl : 'mock/create.json',
readUrl : 'mock/read.json',
updateUrl : 'mock/update.json',
deleteUrl : 'mock/delete.json'
}
To mock server requests, you need to check docs of your test frameworks.