Skip to content

Commit

Permalink
test: skip storage
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Nov 30, 2023
1 parent 75fccf0 commit 0c5c2c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/storage/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import {
} from '../../src'
import { setupStorageRefs } from '../utils'

describe('Storage', () => {
// FIXME: receiving empty errors from the firebase emulators when doing `uploadString()`
describe.skip('Storage', () => {
const { storageRef } = setupStorageRefs()

it('generates a URL', async () => {
const objectRef = storageRef('my-url.jpg')
const objectRef = storageRef('my-text')
await uploadString(objectRef, 'test', 'raw')
const wrapper = mount(
defineComponent({
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function setupStorageRefs() {
storage
const _path =
(typeof storageRefOrPath === 'string' ? storageRefOrPath : path) ||
`test/${_id++}.jpg`
`tests/${_id++}.jpg`
return storageRef(_storage, bucket + _path)
}

Expand Down

0 comments on commit 0c5c2c4

Please sign in to comment.