@@ -5,7 +5,7 @@ import AdditionStat from "./AdditionStat.svelte";
55
66describe . concurrent ( "AdditionStat Tests" , ( ) => {
77 it ( "renders basic stat with text and data" , async ( { expect } ) => {
8- const { container } = render ( WithContext , {
8+ const { container } = await render ( WithContext , {
99 component : AdditionStat ,
1010 componentProps : {
1111 text : "strength" ,
@@ -21,7 +21,7 @@ describe.concurrent("AdditionStat Tests", () => {
2121 } ) ;
2222
2323 it ( "renders with subData" , async ( { expect } ) => {
24- const { container } = render ( WithContext , {
24+ const { container } = await render ( WithContext , {
2525 component : AdditionStat ,
2626 componentProps : {
2727 text : "health" ,
@@ -37,7 +37,7 @@ describe.concurrent("AdditionStat Tests", () => {
3737 } ) ;
3838
3939 it ( "applies maxed class when maxed prop is true" , async ( { expect } ) => {
40- const { container } = render ( WithContext , {
40+ const { container } = await render ( WithContext , {
4141 component : AdditionStat ,
4242 componentProps : {
4343 text : "crit damage" ,
@@ -52,7 +52,7 @@ describe.concurrent("AdditionStat Tests", () => {
5252 } ) ;
5353
5454 it ( "applies accent color when dataMaxed is true" , async ( { expect } ) => {
55- const { container } = render ( WithContext , {
55+ const { container } = await render ( WithContext , {
5656 component : AdditionStat ,
5757 componentProps : {
5858 text : "speed" ,
@@ -68,7 +68,7 @@ describe.concurrent("AdditionStat Tests", () => {
6868 } ) ;
6969
7070 it ( "renders info tooltip indicator when asterisk prop is true" , async ( { expect } ) => {
71- const { container } = render ( WithContext , {
71+ const { container } = await render ( WithContext , {
7272 component : AdditionStat ,
7373 componentProps : {
7474 text : "magic find" ,
@@ -86,7 +86,7 @@ describe.concurrent("AdditionStat Tests", () => {
8686 } ) ;
8787
8888 it ( "applies custom class" , async ( { expect } ) => {
89- const { container } = render ( WithContext , {
89+ const { container } = await render ( WithContext , {
9090 component : AdditionStat ,
9191 componentProps : {
9292 text : "defense" ,
@@ -101,7 +101,7 @@ describe.concurrent("AdditionStat Tests", () => {
101101 } ) ;
102102
103103 it ( "capitalizes text label" , async ( { expect } ) => {
104- const { container } = render ( WithContext , {
104+ const { container } = await render ( WithContext , {
105105 component : AdditionStat ,
106106 componentProps : {
107107 text : "sea creature chance" ,
@@ -116,7 +116,7 @@ describe.concurrent("AdditionStat Tests", () => {
116116 } ) ;
117117
118118 it ( "renders without subData" , async ( { expect } ) => {
119- const { container } = render ( WithContext , {
119+ const { container } = await render ( WithContext , {
120120 component : AdditionStat ,
121121 componentProps : {
122122 text : "intelligence" ,
0 commit comments