You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Apply prettier formatting
This commit is contained in:
@ -17,8 +17,8 @@ limitations under the License.
|
||||
import { textToHtmlRainbow } from "../../src/utils/colour";
|
||||
|
||||
describe("textToHtmlRainbow", () => {
|
||||
it('correctly transform text to html without splitting the emoji in two', () => {
|
||||
expect(textToHtmlRainbow('🐻')).toBe('<font color="#ff00be">🐻</font>');
|
||||
expect(textToHtmlRainbow('🐕🦺')).toBe('<font color="#ff00be">🐕🦺</font>');
|
||||
it("correctly transform text to html without splitting the emoji in two", () => {
|
||||
expect(textToHtmlRainbow("🐻")).toBe('<font color="#ff00be">🐻</font>');
|
||||
expect(textToHtmlRainbow("🐕🦺")).toBe('<font color="#ff00be">🐕🦺</font>');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user