瀏覽代碼

@uppy/utils: fix import in test files (#4806)

Antoine du Hamel 1 年之前
父節點
當前提交
58869e6287
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/@uppy/utils/src/dataURItoBlob.test.ts
  2. 1 1
      packages/@uppy/utils/src/dataURItoFile.test.ts

+ 1 - 1
packages/@uppy/utils/src/dataURItoBlob.test.ts

@@ -1,6 +1,6 @@
 import { describe, expect, it } from 'vitest'
 import dataURItoBlob from './dataURItoBlob.ts'
-import sampleImageDataURI from './sampleImageDataURI.js'
+import sampleImageDataURI from './sampleImageDataURI.ts'
 
 describe('dataURItoBlob', () => {
   it('should convert a data uri to a blob', () => {

+ 1 - 1
packages/@uppy/utils/src/dataURItoFile.test.ts

@@ -1,6 +1,6 @@
 import { describe, expect, it } from 'vitest'
 import dataURItoFile from './dataURItoFile.ts'
-import sampleImageDataURI from './sampleImageDataURI.js'
+import sampleImageDataURI from './sampleImageDataURI.ts'
 
 describe('dataURItoFile', () => {
   it('should convert a data uri to a file', () => {