11import React from 'react'
22
3- import { renderVoltraToJson } from '../renderer /renderer'
4- import { Voltra } from '../server'
3+ import { renderLiveActivityToJson } from '../live-activity /renderer.js '
4+ import { Voltra } from '../server.js '
55
66describe ( 'Stylesheet Deduplication' , ( ) => {
77 describe ( 'Basic Stylesheet Functionality' , ( ) => {
@@ -12,7 +12,7 @@ describe('Stylesheet Deduplication', () => {
1212 fontWeight : 'bold' ,
1313 } as const
1414
15- const result = renderVoltraToJson ( {
15+ const result = renderLiveActivityToJson ( {
1616 lockScreen : (
1717 < Voltra . VStack >
1818 < Voltra . Text style = { sharedStyle } > Text 1</ Voltra . Text >
@@ -38,7 +38,7 @@ describe('Stylesheet Deduplication', () => {
3838 padding : 10 ,
3939 }
4040
41- const result = renderVoltraToJson ( {
41+ const result = renderLiveActivityToJson ( {
4242 lockScreen : (
4343 < Voltra . VStack >
4444 < Voltra . Text style = { sharedStyle } > Text 1</ Voltra . Text >
@@ -64,7 +64,7 @@ describe('Stylesheet Deduplication', () => {
6464 const style2 = { color : '#00FF00' , fontSize : 18 }
6565 const style3 = { color : '#0000FF' , fontSize : 20 }
6666
67- const result = renderVoltraToJson ( {
67+ const result = renderLiveActivityToJson ( {
6868 lockScreen : (
6969 < Voltra . VStack >
7070 < Voltra . Text style = { style1 } > Text 1</ Voltra . Text >
@@ -87,7 +87,7 @@ describe('Stylesheet Deduplication', () => {
8787 it ( 'should handle mixed styled and unstyled elements' , ( ) => {
8888 const sharedStyle = { fontSize : 14 , color : '#333333' }
8989
90- const result = renderVoltraToJson ( {
90+ const result = renderLiveActivityToJson ( {
9191 lockScreen : (
9292 < Voltra . VStack >
9393 < Voltra . Text > Unstyled Text</ Voltra . Text >
@@ -123,7 +123,7 @@ describe('Stylesheet Deduplication', () => {
123123 shadowRadius : 4 ,
124124 }
125125
126- const result = renderVoltraToJson ( {
126+ const result = renderLiveActivityToJson ( {
127127 lockScreen : < Voltra . Text style = { complexStyle } > Complex Style</ Voltra . Text > ,
128128 } )
129129
@@ -149,7 +149,7 @@ describe('Stylesheet Deduplication', () => {
149149 it ( 'should share stylesheet between all variants' , ( ) => {
150150 const sharedStyle = { color : '#FF0000' }
151151
152- const result = renderVoltraToJson ( {
152+ const result = renderLiveActivityToJson ( {
153153 lockScreen : < Voltra . Text style = { sharedStyle } > LockScreen</ Voltra . Text > ,
154154 island : {
155155 expanded : {
@@ -177,7 +177,7 @@ describe('Stylesheet Deduplication', () => {
177177 const style1 = { color : '#FF0000' , fontSize : 16 }
178178 const style2 = { color : '#00FF00' , fontSize : 18 }
179179
180- const result = renderVoltraToJson ( {
180+ const result = renderLiveActivityToJson ( {
181181 lockScreen : (
182182 < Voltra . VStack >
183183 < Voltra . Text style = { style1 } > Text 1</ Voltra . Text >
@@ -212,7 +212,7 @@ describe('Stylesheet Deduplication', () => {
212212 const style2 = { color : '#00FF00' }
213213 const style3 = { color : '#0000FF' }
214214
215- const result = renderVoltraToJson ( {
215+ const result = renderLiveActivityToJson ( {
216216 island : {
217217 expanded : {
218218 center : < Voltra . Text style = { style1 } > Center</ Voltra . Text > ,
@@ -260,7 +260,7 @@ describe('Stylesheet Deduplication', () => {
260260 </ Voltra . VStack >
261261 )
262262
263- const result = renderVoltraToJson ( {
263+ const result = renderLiveActivityToJson ( {
264264 lockScreen : componentWithRepeatedStyles ,
265265 } )
266266
@@ -281,7 +281,7 @@ describe('Stylesheet Deduplication', () => {
281281 } )
282282
283283 it ( 'should not create stylesheet when no styles are used' , ( ) => {
284- const result = renderVoltraToJson ( {
284+ const result = renderLiveActivityToJson ( {
285285 lockScreen : (
286286 < Voltra . VStack >
287287 < Voltra . Text > Plain Text 1</ Voltra . Text >
@@ -294,7 +294,7 @@ describe('Stylesheet Deduplication', () => {
294294 } )
295295
296296 it ( 'should handle empty stylesheet gracefully' , ( ) => {
297- const result = renderVoltraToJson ( {
297+ const result = renderLiveActivityToJson ( {
298298 lockScreen : < Voltra . Text > No Style</ Voltra . Text > ,
299299 } )
300300
@@ -307,7 +307,7 @@ describe('Stylesheet Deduplication', () => {
307307 const sharedStyle = { backgroundColor : '#FFFFFF' , borderRadius : 8 }
308308 const contentStyle = { height : 8 , borderRadius : 8 }
309309
310- const result = renderVoltraToJson ( {
310+ const result = renderLiveActivityToJson ( {
311311 lockScreen : (
312312 < Voltra . Mask
313313 maskElement = {
@@ -344,7 +344,7 @@ describe('Stylesheet Deduplication', () => {
344344 it ( 'should deduplicate styles across main content and component props' , ( ) => {
345345 const sharedStyle = { backgroundColor : '#FF0000' , borderRadius : 8 }
346346
347- const result = renderVoltraToJson ( {
347+ const result = renderLiveActivityToJson ( {
348348 lockScreen : (
349349 < Voltra . Mask
350350 maskElement = {
0 commit comments