Skip to content

Commit 84f3213

Browse files
committed
Update CodePush import path to use @srcpush/react-native-code-push in scenario test files
1 parent f96a4bf commit 84f3213

23 files changed

Lines changed: 39 additions & 39 deletions

test/template/scenarios/scenarioDisallowRestartImmediate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {

test/template/scenarios/scenarioDisallowRestartOnResume.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {

test/template/scenarios/scenarioDisallowRestartOnSuspend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -9,4 +9,4 @@ module.exports = {
99
getScenarioName: function () {
1010
return "Install";
1111
}
12-
};
12+
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -9,4 +9,4 @@ module.exports = {
99
getScenarioName: function () {
1010
return "Install on Restart with Revert";
1111
}
12-
};
12+
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -9,4 +9,4 @@ module.exports = {
99
getScenarioName: function () {
1010
return "Install on Resume with Revert";
1111
}
12-
};
12+
};

test/template/scenarios/scenarioInstallOnSuspendWithRevert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {

test/template/scenarios/scenarioInstallRestart2x.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -14,4 +14,4 @@ module.exports = {
1414
getScenarioName: function () {
1515
return "Install and Restart 2x";
1616
}
17-
};
17+
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -9,4 +9,4 @@ module.exports = {
99
getScenarioName: function () {
1010
return "Install with Revert";
1111
}
12-
};
12+
};

test/template/scenarios/scenarioRestart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var CodePushWrapper = require("../codePushWrapper.js");
2-
import CodePush from "react-native-code-push";
2+
import CodePush from "@srcpush/react-native-code-push";
33

44
module.exports = {
55
startTest: function (testApp) {
@@ -16,4 +16,4 @@ module.exports = {
1616
getScenarioName: function () {
1717
return "Restart";
1818
}
19-
};
19+
};

0 commit comments

Comments
 (0)