From e3add1b03a9d4426dc44455cebda2d28ed4812c5 Mon Sep 17 00:00:00 2001 From: fengjq Date: Mon, 28 Aug 2023 19:05:15 +0800 Subject: [PATCH] Bugfix for fileURI XTS Signed-off-by: fengjq --- storage/storagefileurijstest/src/main/js/test/fileuri.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/storagefileurijstest/src/main/js/test/fileuri.test.js b/storage/storagefileurijstest/src/main/js/test/fileuri.test.js index 179893f2c..bb679aeff 100644 --- a/storage/storagefileurijstest/src/main/js/test/fileuri.test.js +++ b/storage/storagefileurijstest/src/main/js/test/fileuri.test.js @@ -14,6 +14,7 @@ */ import fileUri from '@ohos.file.fileuri'; +import fs from '@ohos.file.fs'; import { describe, it, @@ -24,6 +25,7 @@ from '@ohos/hypium' export default function fileuri_test() { describe('file_uri_test', function () { + const CONTENT = "Hello World!"; /** * @tc.number SUB_STORAGE_FileUri_GetUriFromPath_0000 * @tc.name FileUri_GetUriFromPath_000 -- GitLab