cubicweb/devtools/data/cwmock.js
author Laurent Peuch <cortex@worlddomination.be>
Thu, 19 Dec 2019 01:04:07 +0100
changeset 12829 0e9ce897dfdf
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[mypy/fix] Incompatible types in assignment (expression has type "staticmethod", variable has type "Callable[[ETag], Any]")

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