A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: move pricing test to e2e tests
Abdullah Atta289e6eefb326
diff --git a/packages/core/api/__tests__/pricing.test.js b/packages/core/__e2e__/pricing.test.jssimilarity index 97%rename from packages/core/api/__tests__/pricing.test.jsrename to packages/core/__e2e__/pricing.test.jsindex 5583832f8..4947d5e3d 100644--- a/packages/core/api/__tests__/pricing.test.js+++ b/packages/core/__e2e__/pricing.test.js@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import Pricing from "../pricing";+import Pricing from "../api/pricing";test.each(["monthly", "yearly", undefined])(`get %s price`, async (period) => {const pricing = new Pricing();diff --git a/packages/core/api/__tests__/__snapshots__/pricing.test.js.snap b/packages/core/api/__tests__/__snapshots__/pricing.test.js.snapdeleted file mode 100644index 0797f5d19..000000000--- a/packages/core/api/__tests__/__snapshots__/pricing.test.js.snap+++ /dev/null@@ -1,82 +0,0 @@-// 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,-}-`;