Skip to content

npm run test fails in overrides swagger-ui files #161

Closed

Description

@supasate

npm run test fails with the following error.

1) explorer with custom front-end files overrides swagger-ui files:
Error: expected '/* custom swagger-ui file */\n' response body, got '// Copyright IBM Corp. 2014. All Rights Reserved.\n// Node module: loopback-component-explorer\n// This file is licensed under the MIT License.\n// License text available at https://opensource.org/licenses/MIT\n\n/* custom swagger-ui file */\n'

It fails because the content of dummy-swagger-ui/swagger-ui.js was prepended with copyright notice.

Activity

  1. supasate commented on May 6, 2016

    @supasate
    ContributorAuthor

    I made a PR #160 to fix this issue.

  2. bajtos commented on May 9, 2016

    @bajtos
    Member

    Fixed by #160.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions