Skip to content

ESRI draw tool stops self-intersect on create and dispatches on undo & delete node#168

Merged
markfee merged 8 commits intomainfrom
IM-164
Mar 19, 2026
Merged

ESRI draw tool stops self-intersect on create and dispatches on undo & delete node#168
markfee merged 8 commits intomainfrom
IM-164

Conversation

@markfee
Copy link
Collaborator

@markfee markfee commented Mar 13, 2026

No description provided.

@markfee markfee requested a review from dannyleech March 13, 2026 16:22
@@ -18,9 +18,15 @@ export default {
testPathIgnorePatterns: ['<rootDir>/src/test-utils.js'],
coveragePathIgnorePatterns: [
'<rootDir>/src/test-utils.js',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this - so I could see what isn't covered in draw-es. and then added it back in

But I left it as a list of specific folders, so it's easier to comment one out while the tests are being added

@sonarqubecloud
Copy link


// returns an async function that runs asserts
const assertOnCalls = (methodArray) => async () => {
expect(onSpy.mock.calls, `${type}.on should be called ${methodArray.length} times`)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jest-expect-message was added to package.json, which allows a 2nd param to expect - with a description of the failure - like this.

It helps when you have nested asserts, without it - the failure reason is difficult to infer.

@markfee markfee requested a review from alexluckett March 16, 2026 10:24
@markfee markfee merged commit 46c36ab into main Mar 19, 2026
2 checks passed
@markfee markfee deleted the IM-164 branch March 19, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants