Skip to content

Commit

Permalink
update workbench test for natcap#502
Browse files Browse the repository at this point in the history
  • Loading branch information
emlys committed Aug 22, 2023
1 parent ccd4fe1 commit 30d9615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workbench/tests/renderer/setuptab.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ describe('Misc form validation stuff', () => {
const rasterValue = './raster.tif';
const expectedVal2 = '-79.0198012081401';
const rasterBox = `[${expectedVal2}, 26.481559513537064, -78.37173806200593, 27.268061760228512]`;
const message = `Bounding boxes do not intersect: ${vectorValue}: ${vectorBox} | ${rasterValue}: ${rasterBox}`;
const newPrefix = 'Bounding box does not intersect at least one other:';
const message = `Not all of the spatial layers overlap each other. All bounding boxes must intersect: ${vectorValue}: ${vectorBox} | ${rasterValue}: ${rasterBox}`;
const newPrefix = 'Not all of the spatial layers overlap each other. Bounding box:';
const vectorMessage = new RegExp(`${newPrefix}\\s*\\[${expectedVal1}`);
const rasterMessage = new RegExp(`${newPrefix}\\s*\\[${expectedVal2}`);

Expand Down

0 comments on commit 30d9615

Please sign in to comment.