devtools/data/cwmock.js
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 25 Mar 2015 08:43:00 +0100
changeset 10303 593e63a68429
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[server/test] Drop dependency on folder cube Just copy schema bits when needed and drop a view (not possible anymore) in unittest_repository. Closes #5168939.

/*
 * 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;
}