rename isSubscribed and dont import cloud on local

This commit is contained in:
bymyself
2025-12-02 22:54:49 -08:00
parent 10288ee239
commit 9d889198f8
16 changed files with 66 additions and 48 deletions

View File

@@ -24,7 +24,7 @@ describe('useSubscriptionCancellationWatcher', () => {
baseStatus
)
const isActive = ref(true)
const isActiveSubscription = computed(() => isActive.value)
const isSubscribedOrIsNotCloud = computed(() => isActive.value)
let shouldWatch = true
const shouldWatchCancellation = () => shouldWatch
@@ -76,7 +76,7 @@ describe('useSubscriptionCancellationWatcher', () => {
const { startCancellationWatcher } = initWatcher({
fetchStatus,
isActiveSubscription,
isSubscribedOrIsNotCloud,
subscriptionStatus,
telemetry: telemetryMock,
shouldWatchCancellation
@@ -106,7 +106,7 @@ describe('useSubscriptionCancellationWatcher', () => {
const { startCancellationWatcher } = initWatcher({
fetchStatus,
isActiveSubscription,
isSubscribedOrIsNotCloud,
subscriptionStatus,
telemetry: telemetryMock,
shouldWatchCancellation
@@ -128,7 +128,7 @@ describe('useSubscriptionCancellationWatcher', () => {
const { startCancellationWatcher } = initWatcher({
fetchStatus,
isActiveSubscription,
isSubscribedOrIsNotCloud,
subscriptionStatus,
telemetry: telemetryMock,
shouldWatchCancellation
@@ -153,7 +153,7 @@ describe('useSubscriptionCancellationWatcher', () => {
const { startCancellationWatcher } = initWatcher({
fetchStatus,
isActiveSubscription,
isSubscribedOrIsNotCloud,
subscriptionStatus,
telemetry: telemetryMock,
shouldWatchCancellation