Skip to content

Commit

Permalink
test: skin tone in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed Jul 30, 2019
1 parent b8437cc commit 2a4c40e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import renderer from "react-test-renderer";

test("aliases with skin tone modifiers", () => {
const component = renderer.create(
<Component text="Say hello to :woman::skin-tone-3:" />
<Component text="Say hello to :woman::skin-tone-6:" />
);
let tree = component.toJSON();
expect(tree).toMatchSnapshot();
Expand All @@ -62,7 +62,7 @@ import renderer from "react-test-renderer";

test("a mixture of emoji syntax", () => {
const component = renderer.create(
<Component text=":laughing: This is a selection of 💩 emoji :) :ok_hand::skin-tone-3:" />
<Component text=":laughing: This is a selection of 💩 emoji :) :ok_hand::skin-tone-6:" />
);
let tree = component.toJSON();
expect(tree).toMatchSnapshot();
Expand Down Expand Up @@ -127,7 +127,7 @@ import renderer from "react-test-renderer";
describe("toArray", () => {
test("a mixture of emoji syntax", () => {
const content = toArray(
":laughing: This is a selection of 💩 emoji :) :ok_hand::skin-tone-3:"
":laughing: This is a selection of 💩 emoji :) :ok_hand::skin-tone-6:"
);
expect(content).toMatchSnapshot();
});
Expand Down

0 comments on commit 2a4c40e

Please sign in to comment.