Skip to content

Unable to explicitly define an empty return data #84

@adrifmonte

Description

@adrifmonte

For example:

server.routes([
  {
    path: '/dogs',
    methods: [
      {
        type: 'get',
        data: undefined
        // data: null
        // data: ''
      },
    ],
  },
]);

This will generate the following log after accessing /dogs:

You probably forgot to create the fallback fixture file /docs Error: Fixture not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions