You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
npm run test fails in overrides swagger-ui files #161
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
supasate commentedon May 6, 2016
I made a PR #160 to fix this issue.
bajtos commentedon May 9, 2016
Fixed by #160.