Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/router / __tests__ / __snapshots__ / OneRouter.test.ts.snap
Size: Mime:
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`oneRouter @todo can use with autofixing data types 1`] = `
Array [
  Object {
    "label": "one",
    "value": 1,
  },
  Object {
    "label": "two",
    "value": 2,
  },
]
`;

exports[`oneRouter can match route params 1`] = `
Object {
  "entries": Object {
    "action": "PUSH",
    "block": [Function],
    "canGo": [Function],
    "createHref": [Function],
    "eh": "igloo",
    "entries": Array [
      Object {
        "hash": "",
        "key": "el60kd",
        "pathname": "/",
        "search": "",
        "state": undefined,
      },
      Object {
        "hash": "",
        "key": "i03buo",
        "pathname": "/",
        "search": "?to=some-url",
      },
      Object {
        "hash": "",
        "key": "jk8wix",
        "pathname": "/some-url",
        "search": "",
      },
      Object {
        "hash": "",
        "key": "8jd14a",
        "pathname": "/fallback/igloo",
        "search": "",
      },
    ],
    "go": [Function],
    "goBack": [Function],
    "goForward": [Function],
    "hash": "",
    "history": Object {
      "action": "PUSH",
      "block": [Function],
      "canGo": [Function],
      "createHref": [Function],
      "entries": Array [
        Object {
          "hash": "",
          "key": "el60kd",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        Object {
          "hash": "",
          "key": "i03buo",
          "pathname": "/",
          "search": "?to=some-url",
        },
        Object {
          "hash": "",
          "key": "jk8wix",
          "pathname": "/some-url",
          "search": "",
        },
        Object {
          "hash": "",
          "key": "8jd14a",
          "pathname": "/fallback/igloo",
          "search": "",
        },
      ],
      "go": [Function],
      "goBack": [Function],
      "goForward": [Function],
      "index": 3,
      "length": 4,
      "listen": [Function],
      "location": Object {
        "hash": "",
        "key": "8jd14a",
        "pathname": "/fallback/igloo",
        "search": "",
      },
      "push": [Function],
      "replace": [Function],
    },
    "index": 3,
    "key": "8jd14a",
    "length": 4,
    "listen": [Function],
    "location": Object {
      "hash": "",
      "key": "8jd14a",
      "pathname": "/fallback/igloo",
      "search": "",
    },
    "pathname": "/fallback/igloo",
    "push": [Function],
    "replace": [Function],
    "route": undefined,
    "search": "",
  },
}
`;