package ajax
import (
"local/todo-server/config"
"testing"
)
func TestNew(t *testing.T) {
mockAjax()
}
func mockAjax() *Ajax {
config.StoreType = "map"
ajax, err := New()
if err != nil {
panic(err)
return ajax