Skip to content

Commit f5dd37c

Browse files
chore: fix unit tests for android api28 (#1566)
* chore: fix unit tests for android api28
1 parent e0d19b3 commit f5dd37c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: tests/app/App_Resources/Android/AndroidManifest.xml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
android:allowBackup="true"
2424
android:icon="@drawable/icon"
2525
android:label="@string/app_name"
26+
android:usesCleartextTraffic="true"
2627
android:theme="@style/AppTheme" >
2728
<activity
2829
android:name="com.tns.NativeScriptActivity"

Diff for: tests/karma.conf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ module.exports = function(config) {
1414
// list of files / patterns to load in the browser
1515
files: [
1616
'app/tests/test-main.js',
17-
'app/**/*.js'
17+
'app/**/*.js',
18+
'src/tests/**/*.js'
1819
],
1920

20-
2121
// list of files to exclude
2222
exclude: [
2323
],

0 commit comments

Comments
 (0)