• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jumpinjackie / mapguide-react-layout / 26033267383
61%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 12:27PM UTC
Jobs 1
Files 261
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 May 2026 12:23PM UTC coverage: 60.531% (+0.9%) from 59.676%
26033267383

push

github

web-flow
Dispatchable init action (#1648)

* Update instructions

* Refactor initialization logic and remove viewer command dependency

- Replaced the `initLayout` command with `fetchInitDocument` and `initAppFromDocument` in the App component.
- Updated the `IInitAppLayout` interface to accommodate `WebLayout` alongside `ApplicationDefinition`.
- Enhanced error handling by exporting `processAndDispatchInitError`.
- Removed the `IViewerInitCommand` dependency from various components and tests.
- Adjusted tests to reflect changes in initialization logic and ensure proper mocking of new functions.
- Cleaned up imports and unused code related to the old initialization command.

* Add integration tests for init dispatchable action and snapshot for redux state

- Implemented a new test file `init-dispatchable.spec.ts` to test the `initAppFromDocument` action.
- Created a mock client to simulate API interactions.
- Added a snapshot file `init-dispatchable.spec.ts.snap` to capture the expected redux baseline state after dispatching the action.
- Ensured the legacy app definition is correctly de-arrayified and integrated into the redux store.

3235 of 3962 branches covered (81.65%)

447 of 723 new or added lines in 4 files covered. (61.83%)

9 existing lines in 1 file now uncovered.

15990 of 26416 relevant lines covered (60.53%)

14.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
183
67.24
16.13% src/actions/init-mapguide.ts
90
60.0
1.15% src/actions/init.ts
2
96.27
-0.45% src/containers/app.tsx
1
96.67
35.46% src/actions/init-command.ts

Coverage Regressions

Lines Coverage ∆ File
9
67.24
16.13% src/actions/init-mapguide.ts
Jobs
ID Job ID Ran Files Coverage
1 26033267383.1 18 May 2026 12:27PM UTC 261
60.53
GitHub Action Run
Source Files on build 26033267383
  • Tree
  • List 261
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26033267383
  • 7bebb6c7 on github
  • Prev Build on master (#25969120399)
  • Next Build on master (#26041141186)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc