# Snapshot report for `lib/parse-faas-identifier.test.js`

The actual snapshot is saved in `parse-faas-identifier.test.js.snap`.

Generated by [AVA](https://ava.li).

## URL prefix and suffix success

> Snapshot 1

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 2

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
    }

## URL prefix success

> Snapshot 1

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 2

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 3

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 4

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
    }

> Snapshot 5

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
    }

> Snapshot 6

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
    }

> Snapshot 7

    {
      deploymentId: 'username/foo-bar@latest',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
      version: 'latest',
    }

> Snapshot 8

    {
      deploymentId: 'username/foo-bar@dev',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
      version: 'dev',
    }

> Snapshot 9

    {
      deploymentId: 'username/foo-bar@2.1.0',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/456/123',
      version: '2.1.0',
    }

## URL suffix success

> Snapshot 1

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 2

    {
      deploymentId: 'username/foo-bar@latest',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
      version: 'latest',
    }

> Snapshot 3

    {
      deploymentId: 'username/foo-bar@dev',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
      version: 'dev',
    }

> Snapshot 4

    {
      deploymentId: 'username/foo-bar@2.1.0',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
      version: '2.1.0',
    }

## namespace success

> Snapshot 1

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 2

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 3

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 4

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo',
    }

> Snapshot 5

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
    }

> Snapshot 6

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
    }

> Snapshot 7

    {
      deploymentHash: '01234567',
      deploymentId: 'username/foo-bar@01234567',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
    }

> Snapshot 8

    {
      deploymentId: 'username/foo-bar@latest',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
      version: 'latest',
    }

> Snapshot 9

    {
      deploymentId: 'username/foo-bar@dev',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
      version: 'dev',
    }

> Snapshot 10

    {
      deploymentId: 'username/foo-bar@1.2.3',
      projectId: 'username/foo-bar',
      servicePath: '/foo/bar/123',
      version: '1.2.3',
    }
