// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`y state rules keeps the expected ordered rule list 1`] = `
[
  "m",
  "n",
  "nm",
  "abbaye",
  "y_voyelle",
]
`;

exports[`y state rules matches "*" 1`] = `
{
  "phonem": "i",
  "schema": null,
  "step": 1,
}
`;

exports[`y state rules matches "abbaye" 1`] = `
{
  "phonem": "i",
  "schema": {
    "regExps": [
      {
        "direction": "after",
        "flags": "",
        "source": "e",
      },
      {
        "direction": "before",
        "flags": "",
        "source": "abba",
      },
    ],
    "type": "regExp",
  },
  "step": 1,
}
`;

exports[`y state rules matches "m" 1`] = `
{
  "phonem": "e~",
  "schema": {
    "regExps": [
      {
        "direction": "after",
        "flags": "",
        "source": "m[mpb]",
      },
    ],
    "type": "regExp",
  },
  "step": 2,
}
`;

exports[`y state rules matches "n" 1`] = `
{
  "phonem": "e~",
  "schema": {
    "regExps": [
      {
        "direction": "after",
        "flags": "",
        "source": "n[bcçdfghjklmpqrstvwxz]",
      },
    ],
    "type": "regExp",
  },
  "step": 2,
}
`;

exports[`y state rules matches "nm" 1`] = `
{
  "phonem": "e~",
  "schema": {
    "regExps": [
      {
        "direction": "after",
        "flags": "",
        "source": "[nm]$",
      },
    ],
    "type": "regExp",
  },
  "step": 2,
}
`;

exports[`y state rules matches "y_voyelle" 1`] = `
{
  "phonem": "j",
  "schema": {
    "regExps": [
      {
        "direction": "after",
        "flags": "",
        "source": "[aeiouéèàüëöêîôûù]",
      },
    ],
    "type": "regExp",
  },
  "step": 1,
}
`;
