Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: add pricing test snapshot

Abdullah Atta78c1df872337
diff --git a/packages/core/__e2e__/__snapshots__/pricing.test.js.snap b/packages/core/__e2e__/__snapshots__/pricing.test.js.snap
new file mode 100644
index 000000000..0797f5d19
--- /dev/null
+++ b/packages/core/__e2e__/__snapshots__/pricing.test.js.snap
@@ -0,0 +1,82 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`get android pricing tier get monthly android tier: monthly-android-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 78,
+ "sku": "com.streetwriters.notesnook.sub.mo.tier3",
+}
+`;
+
+exports[`get android pricing tier get yearly android tier: yearly-android-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 80,
+ "sku": "com.streetwriters.notesnook.sub.yr.tier3",
+}
+`;
+
+exports[`get ios pricing tier get monthly ios tier: monthly-ios-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 78,
+ "sku": "com.streetwriters.notesnook.sub.mo.tier3",
+}
+`;
+
+exports[`get ios pricing tier get yearly ios tier: yearly-ios-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 80,
+ "sku": "com.streetwriters.notesnook.sub.yr.tier3",
+}
+`;
+
+exports[`get monthly price: monthly-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 78,
+ "price": 0.99,
+}
+`;
+
+exports[`get undefined price: monthly-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 78,
+ "price": 0.99,
+}
+`;
+
+exports[`get web pricing tier get monthly web tier: monthly-web-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 78,
+ "sku": "763943",
+}
+`;
+
+exports[`get web pricing tier get yearly web tier: yearly-web-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 80,
+ "sku": "763945",
+}
+`;
+
+exports[`get yearly price: yearly-pricing 1`] = `
+Object {
+ "country": "Pakistan",
+ "countryCode": "PK",
+ "discount": 80,
+ "price": 9.99,
+}
+`;