From 6d5083cfc999b9e38af622330d3c2805bec40cb6 Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Tue, 21 May 2024 15:18:02 +0800 Subject: [PATCH] test: enable compatibility test (#367) --- loro-js/package.json | 2 +- loro-js/tests/compatibility.test.ts | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/loro-js/package.json b/loro-js/package.json index 61a8d8f6..8257d7ef 100644 --- a/loro-js/package.json +++ b/loro-js/package.json @@ -31,7 +31,7 @@ "@vitest/ui": "^1.0.4", "esbuild": "^0.18.20", "eslint": "^8.46.0", - "loro-crdt-old": "npm:loro-crdt@0.15.4", + "loro-crdt-old": "npm:loro-crdt@=0.16.0", "prettier": "^3.0.0", "rollup": "^3.20.1", "rollup-plugin-dts": "^5.3.0", diff --git a/loro-js/tests/compatibility.test.ts b/loro-js/tests/compatibility.test.ts index 0d9d00d8..042e0429 100644 --- a/loro-js/tests/compatibility.test.ts +++ b/loro-js/tests/compatibility.test.ts @@ -15,7 +15,7 @@ import { import * as OLD from "loro-crdt-old"; // TODO: This is skip because we know it will fail for the current version as we've introduced BREAKING CHANGES on the serialization format -describe.skip("compatibility", () => { +describe("compatibility", () => { it("basic forward compatibility on exportFrom", () => { const docA = new Loro(); docA.getText("text").insert(0, "123"); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5404369..50eef8b7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -83,8 +83,8 @@ importers: specifier: ^8.46.0 version: 8.57.0 loro-crdt-old: - specifier: npm:loro-crdt@0.15.4 - version: /loro-crdt@0.15.4 + specifier: npm:loro-crdt@=0.16.0 + version: /loro-crdt@0.16.0 prettier: specifier: ^3.0.0 version: 3.2.5 @@ -2957,14 +2957,14 @@ packages: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} dev: true - /loro-crdt@0.15.4: - resolution: {integrity: sha512-F/c6SVQWsXDmcfwjJE1Gwoj7N3pgn7PHk6fUjBNoFs/niahB3lAvepqnbdzLeKjthZo4r4jopbhlRf5kG8V4VQ==} + /loro-crdt@0.16.0: + resolution: {integrity: sha512-U/fwXPfe3GjE96tP97qzIjGoDOz5K/zSNPs1QZ7ZO4pqOAkjkLhBifSYZWW2v1t7ufFgUa4XqXpS1pn7Hyze2A==} dependencies: - loro-wasm: 0.15.4 + loro-wasm: 0.16.0 dev: true - /loro-wasm@0.15.4: - resolution: {integrity: sha512-EDK+hh+KMCuzMotHmN/9+hMSH3SW0xzLxdJm3vAiV00DQYzFwN6w1IaSkGdEhGV5QZFspOn/6GKLEgJHgYF2zg==} + /loro-wasm@0.16.0: + resolution: {integrity: sha512-2puF09ppACoUwMf9+6BkuYlogY+qZqqStq6RbYYXMhL8Uxrf8DXJdmLA+XGgI4suxXh39jvt6XfwdafqcUuu4A==} dev: true /loupe@2.3.7: