cubicweb/devtools/data/cwmock.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 15 Sep 2017 16:25:51 +0200
changeset 12235 03b94c9863de
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[rql2sql/test] Move base class from repotest to unittest_rql2sql It's only used there, so move it closer to its usage. Along the way, stop using lgc.testlib.

/*
 * cubicweb js mock for unit tests
 * This module defines variables and functions used in quite a few places
 * in cw js framework that can't be used or guessed without a real CW server
 */

var pageid = 'my-page-id';

function _(message) {
    return message;
}