mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 06:34:21 +00:00
Extract tests to shared/
This commit is contained in:
parent
e305e23c43
commit
60bb561e49
3 changed files with 4 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
import {expect} from "chai";
|
||||
import cleanIrcMessage from "../../../../../client/js/helpers/ircmessageparser/cleanIrcMessage";
|
||||
import {cleanIrcMessage} from "../../shared/irc";
|
||||
|
||||
describe("cleanIrcMessage", function () {
|
||||
it("should remove all formatting", function () {
|
|
@ -1,8 +1,5 @@
|
|||
import {expect} from "chai";
|
||||
import {
|
||||
findLinks,
|
||||
findLinksWithSchema,
|
||||
} from "../../../../../client/js/helpers/ircmessageparser/findLinks";
|
||||
import {findLinks, findLinksWithSchema} from "../../shared/linkify";
|
||||
|
||||
describe("findLinks", () => {
|
||||
it("should find url", () => {
|
|
@ -3,7 +3,8 @@
|
|||
"include": [
|
||||
"**/*",
|
||||
"../client",
|
||||
"../server"
|
||||
"../server",
|
||||
"../shared"
|
||||
] /* Specifies a list of glob patterns that match files to be included in compilation. If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. Requires TypeScript version 2.0 or later. */,
|
||||
"files": [
|
||||
"../babel.config.cjs",
|
||||
|
|
Loading…
Reference in a new issue