Skip to content

Commit

Permalink
try ci
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsvmx committed May 22, 2023
1 parent 36d669a commit e95cc7a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/functional/functional-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ import * as url from 'node:url'
import async from 'async'
import chai from 'chai'
import _ from 'lodash'
import * as minio from 'minio'
import { step } from 'mocha-steps'
import splitFile from 'split-file'
import superagent from 'superagent'
import * as uuid from 'uuid'

const { AssumeRoleProvider, CopyDestinationOptions, CopySourceOptions, DEFAULT_REGION } = minio.default
let minio
try {
minio = require('../../dist/main/minio.js')
} catch (err) {
minio = require('minio')
}

const { AssumeRoleProvider, CopyDestinationOptions, CopySourceOptions, DEFAULT_REGION } = minio
/** Functional Tests need to be run externally e.g in https://github.com/minio/mint **/

const assert = chai.assert
Expand Down

0 comments on commit e95cc7a

Please sign in to comment.