mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
move core tests to tests/ folder
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
roots: ["<rootDir>/demo/static"],
|
||||
roots: ["<rootDir>/demo/static", "<rootDir>/tests"],
|
||||
transform: {
|
||||
"^.+\\.ts?$": "ts-jest"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, WEnv } from "../../../../src/component";
|
||||
import { Component, WEnv } from "../src/component";
|
||||
import {
|
||||
makeDeferred,
|
||||
makeTestFixture,
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
nextMicroTick,
|
||||
nextTick,
|
||||
normalize
|
||||
} from "../helpers";
|
||||
} from "../demo/static/tests/helpers";
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Setup and helpers
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EventBus } from "../../../../src/event_bus";
|
||||
import { EventBus } from "../src/event_bus";
|
||||
|
||||
describe("event bus behaviour", () => {
|
||||
test("can subscribe and be notified", () => {
|
||||
@@ -1,8 +1,8 @@
|
||||
import sdAttributes from "../../../../libs/snabbdom/src/modules/attributes";
|
||||
import sdListeners from "../../../../libs/snabbdom/src/modules/eventlisteners";
|
||||
import { init } from "../../../../libs/snabbdom/src/snabbdom";
|
||||
import { EvalContext, QWeb } from "../../../../src/qweb_vdom";
|
||||
import { normalize } from "../helpers";
|
||||
import sdAttributes from "../libs/snabbdom/src/modules/attributes";
|
||||
import sdListeners from "../libs/snabbdom/src/modules/eventlisteners";
|
||||
import { init } from "../libs/snabbdom/src/snabbdom";
|
||||
import { EvalContext, QWeb } from "../src/qweb_vdom";
|
||||
import { normalize } from "../demo/static/tests/helpers";
|
||||
//------------------------------------------------------------------------------
|
||||
// Setup and helpers
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
memoize,
|
||||
debounce,
|
||||
findInTree
|
||||
} from "../../../../src/utils";
|
||||
} from "../src/utils";
|
||||
|
||||
describe("escape", () => {
|
||||
test("normal strings", () => {
|
||||
Reference in New Issue
Block a user