Skip to content

Commit

Permalink
fix 1 semver test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmconne committed Jan 7, 2025
1 parent 16e3468 commit 445245a
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4225,14 +4225,7 @@ describe("IModelTransformer", () => {
["PhysicalModel", 1],
["PhysicalObject", 1],
] as const) {
// some versions of itwin.js do not have a code path for the transformer to preserve bad codes
const inITwinJsVersionWithExactCodeFeature = Semver.satisfies(
coreBackendPkgJson.version,
"^3.0.0 || ^4.1.1"
);
const expected = inITwinJsVersionWithExactCodeFeature
? `${initialVal}\xa0`
: initialVal;
const expected = `${initialVal}\xa0`;
getCodeValRawSqlite(targetDb, {
initialVal,
expected,
Expand Down

0 comments on commit 445245a

Please sign in to comment.