Skip to content

Commit a786b65

Browse files
committed
chore: tests
1 parent d2cc48b commit a786b65

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apps/nativescript-demo-ng/karma.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module.exports = function (config) {
2929
reporters: [{ type: 'html' }, { type: 'text-summary' }],
3030
},
3131

32+
// web server hostname
33+
hostname: '127.0.0.1',
34+
3235
// web server port
3336
port: 9876,
3437

apps/nativescript-demo-ng/src/tests/ns-location-strategy.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function simulatePageNavigation(strategy: NSLocationStrategy, url: string, frame
144144
}
145145

146146
function simulatePageBack(strategy: NSLocationStrategy, frame: any) {
147-
strategy._beginBackPageNavigation(frame);
147+
strategy._beginBackPageNavigation(frame, '');
148148
strategy.back();
149149
strategy._finishBackPageNavigation(frame);
150150
}

0 commit comments

Comments
 (0)