Release/test #1
@@ -86,6 +86,9 @@
|
||||
},
|
||||
"usingComponents" : true
|
||||
},
|
||||
"uniStatistics" : {
|
||||
"enable" : false
|
||||
},
|
||||
"vueVersion" : "3",
|
||||
"h5" : {
|
||||
"devServer" : {
|
||||
|
||||
@@ -17,6 +17,7 @@ test('page configuration starts at login and registers independent PDA routes',
|
||||
test('application uses the Vue 3 uni-app entry and no unused Android permissions', async () => {
|
||||
const [manifest, main] = await Promise.all([read('../manifest.json'), read('../main.js')])
|
||||
assert.match(manifest, /"vueVersion"\s*:\s*"3"/)
|
||||
assert.match(manifest, /"uniStatistics"\s*:\s*\{\s*"enable"\s*:\s*false\s*\}/)
|
||||
assert.match(main, /createSSRApp/)
|
||||
assert.doesNotMatch(main, /new\s+Vue/)
|
||||
assert.doesNotMatch(manifest, /android\.permission\.(VIBRATE|ACCESS_NETWORK_STATE)/)
|
||||
|
||||
Reference in New Issue
Block a user