Skip to content

Commit d95e1e5

Browse files
committed
Update CodePush import path to use the new package location
1 parent 5a5bda3 commit d95e1e5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/template/codePushWrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import CodePush from "react-native-code-push";
1+
import CodePush from "@srcpush/react-native-code-push";
22

33
// This module wraps CodePush API calls to add test message callbacks to every function for simpler test code.
44

@@ -70,4 +70,4 @@ module.exports = {
7070
}
7171
);
7272
}
73-
}
73+
}

test/template/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
View
1414
} from 'react-native';
1515

16-
import CodePush from "react-native-code-push";
16+
import CodePush from "@srcpush/react-native-code-push";
1717

1818
var testScenario = require("./CODE_PUSH_INDEX_JS_PATH");
1919

@@ -137,7 +137,7 @@ class CODE_PUSH_TEST_APP_NAME extends Component {
137137
<View style={styles.container}>
138138
<Text style={styles.welcome}>
139139
CodePush React-Native Plugin Tests
140-
</Text>
140+
</Text>
141141
<Text style={styles.instructions}>
142142
{testScenario.getScenarioName()}{this.state.message}
143143
</Text>
@@ -165,4 +165,4 @@ const styles = StyleSheet.create({
165165
},
166166
});
167167

168-
AppRegistry.registerComponent('CODE_PUSH_TEST_APP_NAME', () => CODE_PUSH_TEST_APP_NAME);
168+
AppRegistry.registerComponent('CODE_PUSH_TEST_APP_NAME', () => CODE_PUSH_TEST_APP_NAME);

0 commit comments

Comments
 (0)