From 2a3df5c21fb0d9ad9a36d9d3d1d7469b2607285d Mon Sep 17 00:00:00 2001 From: li-yaoyao777 Date: Wed, 15 Jun 2022 10:16:09 +0800 Subject: [PATCH] sensorunittest Signed-off-by: li-yaoyao777 --- interfaces/plugin/test/ExampleJsunit.test_gravity.js | 2 +- interfaces/plugin/test/ExampleJsunit.test_magnetic.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/plugin/test/ExampleJsunit.test_gravity.js b/interfaces/plugin/test/ExampleJsunit.test_gravity.js index 2c66aefc..c8eb59f6 100644 --- a/interfaces/plugin/test/ExampleJsunit.test_gravity.js +++ b/interfaces/plugin/test/ExampleJsunit.test_gravity.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import sensor from '@system.sensor' +import sensor from '@ohos.sensor' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' diff --git a/interfaces/plugin/test/ExampleJsunit.test_magnetic.js b/interfaces/plugin/test/ExampleJsunit.test_magnetic.js index 3788c3bc..e9a72a58 100644 --- a/interfaces/plugin/test/ExampleJsunit.test_magnetic.js +++ b/interfaces/plugin/test/ExampleJsunit.test_magnetic.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import sensor from '@system.sensor' +import sensor from '@ohos.sensor' import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' -- Gitee