/Users/ygou/projects/express-middleware-minio/src/__tests__/minio-client.3.test.js
1s
MinioClient | can get inner client instance, which creates a bucket | passed in 0.112s |
/Users/ygou/projects/express-middleware-minio/src/__tests__/minio-client.4.test.js
0.436s
MinioClient | should fail to get Minio client instance when being unable to create a bucket | passed in 0.026s |
/Users/ygou/projects/express-middleware-minio/src/__tests__/minio-client.2.test.js
1.496s
MinioClient | ensures a given bucket is created | passed in 0.101s |
MinioClient | uploads a file | passed in 0.034s |
MinioClient | downloads a file | passed in 0.028s |
MinioClient | lists files with certain prefix in the S3 bucket | passed in 0.018s |
MinioClient | downloads a file as a stream | passed in 0.023s |
MinioClient | uploads a file from a stream | passed in 0.038s |
MinioClient | gets the stats of a file | passed in 0.032s |
MinioClient | rejects promise when getting the stats of a non-existing file | passed in 0.015s |
MinioClient | delets a file | passed in 0.015s |
MinioClient | returns error when throwing an exception for deleting a file | passed in 0.006s |
/Users/ygou/projects/express-middleware-minio/src/__tests__/minio-client.1.test.js
0.277s
MinioClient | fails to get client instance with an invalid connection port. | passed in 0.048s |
/Users/ygou/projects/express-middleware-minio/src/__tests__/utils.test.js
0.288s
utils.getTempPath(filename) | returns a file name with dot UUID as its suffix from the tempDir directory | passed in 0.003s |
utils.removeFile(fileFullPath) | removes a given file in the tempDir directory | passed in 0.004s |
utils.removeFile(fileFullPath) | throws error if the given file is not in the tempDir directory | passed in 0.018s |
utils.removeFile(fileFullPath) | does not throw error if the given file is in the tempDir directory | passed in 0.001s |
/Users/ygou/projects/express-middleware-minio/src/__tests__/index.test.js
1.887s
MinioMiddleware | Operations cannot be changed | passed in 0.007s |
MinioMiddleware | posts a file | passed in 0.123s |
MinioMiddleware | returns error when posts a file which is not present | passed in 0.007s |
MinioMiddleware | posts a file via stream | passed in 0.047s |
MinioMiddleware | shows correct metadata. | passed in 0.076s |
MinioMiddleware | lists files | passed in 0.055s |
MinioMiddleware | returns error if a file to get does not exist | passed in 0.086s |
MinioMiddleware | returns error if a file to get as stream does not exist | passed in 0.02s |
MinioMiddleware | gets a file | passed in 0.102s |
MinioMiddleware | gets a file as stream | passed in 0.05s |
MinioMiddleware | deletes a file | passed in 0.018s |
MinioMiddleware | returns error when no operation is specified | passed in 0.003s |
MinioMiddleware | returns error when the operation is not supported | passed in 0.002s |