Skip to content

Commit 7fcbda1

Browse files
committed
test(fearthers-s3): try to fix tests
1 parent 17d2a65 commit 7fcbda1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/feathers-s3/test/distribution.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const distributionConfig = {
8080
const fileId = 'image.png'
8181
const fileContent = fs.readFileSync('test/data/image.png')
8282

83-
describe('feathers-s3-distributed-service', () => {
83+
describe('feathers-s3-distribution', () => {
8484
beforeAll(() => {
8585
consumerApp = express(feathers())
8686
consumerApp.use(express.json({ limit: 100 * 1024 * 1024 }))

packages/feathers-s3/test/service.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ describe('feathers-s3-service', () => {
203203
})
204204

205205
it('check remote is empty', async () => {
206-
const response = await service.find()
206+
const response = await service.find({ query: { Prefix: 'test-folder' } })
207207
expect(response.length).toBe(0)
208208
})
209209

0 commit comments

Comments
 (0)