Skip to content

Commit

Permalink
fix unintended replace
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Oct 17, 2024
1 parent b0c6838 commit 71b396a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shared/coordinateoperation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { assert } from 'chai';
import qPROJ from 'proj.js';
import type * as PROJ from 'proj.js';

describe('CoordinateOperation with automatic import', () => {
describe.only('CoordinateOperation with automatic import', () => {
let PROJ: Awaited<typeof qPROJ>;

let dbContext: PROJ.DatabaseContext;
Expand All @@ -19,7 +19,7 @@ describe('CoordinateOperation with automatic import', () => {
authFactory = PROJ.AuthorityFactory.create(dbContext, 'string');
authFactoryEPSG = PROJ.AuthorityFactory.create(dbContext, 'EPSG');
sourceCRS = authFactoryEPSG.createCoordinateReferenceSystem('4326');
targetCRS = PROJ.createFromUserInput('+PROJ=utm +zone=31 +datum=WGS84 +type=crs', dbContext) as PROJ.CRS;
targetCRS = PROJ.createFromUserInput('+proj=utm +zone=31 +datum=WGS84 +type=crs', dbContext) as PROJ.CRS;
coord_op_ctxt = PROJ.CoordinateOperationContext.create(authFactory, null, 0);
const list = PROJ.CoordinateOperationFactory.create().createOperations(sourceCRS, targetCRS, coord_op_ctxt);
operation = list[0];
Expand Down

0 comments on commit 71b396a

Please sign in to comment.