@api-client/ui 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ import { Fragment } from '../../src/core/Fragment.js'
5
5
  import { Activity } from '../../src/core/Activity.js'
6
6
  import { Application } from '../../src/core/Application.js'
7
7
  import { FragmentState, FragmentManager } from '../../src/core/FragmentManager.js'
8
- import { IntentResult, type Intent, ActivityState } from '../../src/core/ActivityManager.js'
8
+ import { IntentResult, type Intent, ActivityLifecycle } from '../../src/core/ActivityManager.js'
9
9
  import { FragmentRenderer } from '../../src/core/renderer/FragmentRenderer.js'
10
10
  import { EventTypes } from '../../src/events/EventTypes.js'
11
11
  import { nothing } from 'lit'
@@ -107,7 +107,7 @@ describe('Fragment', () => {
107
107
  app = new TestApplication(renderRoot)
108
108
  await app.run() // To register activity
109
109
  activity = new TestActivity(app) // Parent for the fragment
110
- activity.state = ActivityState.Resumed // Mock activity as active
110
+ activity.lifecycle = ActivityLifecycle.Resumed // Mock activity as active
111
111
  fragment = new TestFragment({ parent: activity })
112
112
  })
113
113