Since Profile hosts the leaderboard, entity_host links the leaderboard
screen, so session-results-zi-test defined leaderboard_screen_enter twice.
The Results test now uses the real screen with a stub for the habit
editor's leave check, and only the tests that do not link the screen keep
its stub. This replaces a79ab2ac's foreign call from Profile, whose web
build ended release-ready's music test on Habits instead of Settings; the
app sources are those of 7ccb904f again.
10 lines
287 B
Ziran
10 lines
287 B
Ziran
// The habit editor's leave check, for tests that reach navigation without
|
|
// linking the editor: leaving is always allowed.
|
|
|
|
#program_export "habit_edit_request_leave"
|
|
host_habit_edit_request_leave :: (app: *void, route: s32) -> bool {
|
|
unused app
|
|
unused route
|
|
return true
|
|
}
|