Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mint tests import failure for helpers #978

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

prakashsvmx
Copy link
Member

Install minio package globally (npm install -g minio) and swap the imports to test locally

Local test code

replace Line numbers 32-37 with the following because during development the import should be from within package.

let helpers
try{
 helpers = require('minio/dist/main/helpers')
}catch (err){
  helpers=  require("../../../dist/main/helpers")
}

@harshavardhana harshavardhana merged commit 0fca6d1 into minio:master Nov 19, 2021
@prakashsvmx prakashsvmx deleted the mint-test-import branch February 10, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants