summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/helpers/test_utils_graph.js
blob: f6b50a1b571ac63c747f5f82d31c0197c71e4f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
odoo.define('web.test_utils_graph', function () {
"use strict";

/**
 * Graph Test Utils
 *
 * This module defines various utility functions to help test graph views.
 *
 * Note that all methods defined in this module are exported in the main
 * testUtils file.
 */


/**
 * Reloads a graph view.
 *
 * @param {GraphController} graph
 * @param {[Object]} params given to the controller reload method
 */
function reload(graph, params) {
    return graph.reload(params);
}

return {
    reload: reload,
};

});