diff --git a/interfaces/plugin/test/ExampleJsunit.test_gravity.js b/interfaces/plugin/test/ExampleJsunit.test_gravity.js index 2c66aefc01e176c98edbb20f0a4974814badb240..c8eb59f6151a40f962d2ab3d741c8b385eb22959 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 3788c3bc9e207c030ba5a8ea734f8c463bad1476..e9a72a58451b8071e5d566f49ef21f3ea13f0362 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'