Right now there is no way to do this. Only place to put tests is for components defined in code, in the component editor.
Right now there is no way to do this. Only place to put tests is for components defined in code, in the component editor.