mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 23:31:30 +03:00
8c0d202df4
* Enable tsc alwaysStrict * Enable tsc strictBindCallApply * Enable tsc noImplicitThis * Add d.ts * Improve types * Add ? * Increase coverage * Improve coverage
19 lines
1.5 KiB
Text
19 lines
1.5 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SlashCommands /rainbow should make things rainbowy 1`] = `
|
|
{
|
|
"body": "this is a test message",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<font color="#ff00be">t</font><font color="#ff0080">h</font><font color="#ff0041">i</font><font color="#ff5f00">s</font> <font color="#faa900">i</font><font color="#c3bf00">s</font> <font color="#00d800">a</font> <font color="#00e371">t</font><font color="#00e6b6">e</font><font color="#00e7f8">s</font><font color="#00e7ff">t</font> <font color="#00deff">m</font><font color="#00d2ff">e</font><font color="#00c0ff">s</font><font color="#44a4ff">s</font><font color="#e87dff">a</font><font color="#ff42ff">g</font><font color="#ff00fe">e</font>",
|
|
"msgtype": "m.text",
|
|
}
|
|
`;
|
|
|
|
exports[`SlashCommands /rainbowme should make things rainbowy 1`] = `
|
|
{
|
|
"body": "this is a test message",
|
|
"format": "org.matrix.custom.html",
|
|
"formatted_body": "<font color="#ff00be">t</font><font color="#ff0080">h</font><font color="#ff0041">i</font><font color="#ff5f00">s</font> <font color="#faa900">i</font><font color="#c3bf00">s</font> <font color="#00d800">a</font> <font color="#00e371">t</font><font color="#00e6b6">e</font><font color="#00e7f8">s</font><font color="#00e7ff">t</font> <font color="#00deff">m</font><font color="#00d2ff">e</font><font color="#00c0ff">s</font><font color="#44a4ff">s</font><font color="#e87dff">a</font><font color="#ff42ff">g</font><font color="#ff00fe">e</font>",
|
|
"msgtype": "m.emote",
|
|
}
|
|
`;
|