Skip to content

test: fix arguments to ViewState#7204

Closed
pjonsson wants to merge 1 commit intoTerriaJS:mainfrom
pjonsson:viewstateoptions-all-params
Closed

test: fix arguments to ViewState#7204
pjonsson wants to merge 1 commit intoTerriaJS:mainfrom
pjonsson:viewstateoptions-all-params

Conversation

@pjonsson
Copy link
Contributor

What this PR does

There are two arguments required
for ViewStateOptions, so put in
a second argument with an undefined
value which is what is used
at other call sites.

Test me

Test only changes.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

@pjonsson pjonsson force-pushed the viewstateoptions-all-params branch from ab1e52b to 6e6f679 Compare June 23, 2024 18:28
@pjonsson pjonsson mentioned this pull request Jan 1, 2025
4 tasks
There are two arguments required
for ViewStateOptions, so put in
a second argument with an undefined
value which is what is used
at other call sites.
@pjonsson pjonsson force-pushed the viewstateoptions-all-params branch from 6e6f679 to 5e8005b Compare January 2, 2025 09:31
pjonsson added a commit to pjonsson/TerriaMap that referenced this pull request Feb 15, 2025
There are two arguments required
for ViewStateOptions, so put in
a second argument with an undefined
value which is what is used
at other call sites.

This mirrors the same change in terriajs:
TerriaJS/terriajs#7204
@zoran995
Copy link
Collaborator

the .js{x} test files are not being run, so there is no point spending time to fix them, they are still kept around for history reasons, so tests can be converted to TypeScript.

@zoran995 zoran995 closed this Mar 12, 2025
@pjonsson pjonsson deleted the viewstateoptions-all-params branch March 12, 2025 20:03
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