mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
mv element.io @types __mocks__/ debian docker module_system/ playwright res src test webapp Dockerfile .dockerignore .eslintignore .stylelintrc.cjs babel.config.cjs recorder-worklet-loader.cjs .modernizr.json components.json config.json config.sample.json package.json project.json tsconfig.json tsconfig.module_system.json jest.config.ts playwright.config.ts webpack.config.ts build_config.sample.yaml apps/web/
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -0,0 +1,178 @@
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`editor/deserialize html messages escapes angle brackets 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "\\> \\\\<del>no formatting here\\\\</del>",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes asterisks 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "\\*hello\\*",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes backslashes 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "C:\\\\My Documents",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes backticks in code blocks 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "\`\`this → \` is a backtick\`\`",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "\`\`\`\`",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "and here are 3 of them:",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "\`\`\`",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "\`\`\`\`",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes backticks outside of code blocks 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "some \\\`backticks\\\`",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes square brackets 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "\\[not an actual link\\](https://example.org)",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages escapes underscores 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "\\_\\_emphasis\\_\\_",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages preserves nested formatting 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "a<sub>b_c**d<u>e</u>**_</sub>",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages preserves nested quotes 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "> foo",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "> ",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "> > bar",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`editor/deserialize html messages surrounds lists with newlines 1`] = `
|
||||
[
|
||||
{
|
||||
"text": "foo",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "- bar",
|
||||
"type": "plain",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "
|
||||
",
|
||||
"type": "newline",
|
||||
},
|
||||
{
|
||||
"text": "baz",
|
||||
"type": "plain",
|
||||
},
|
||||
]
|
||||
`;
|
||||
Reference in New Issue
Block a user