File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -179,11 +179,11 @@ describe('Filter', () => {
179179 await filter ( webPageDOM , sourceDocument ) ;
180180 } ) ;
181181
182- it ( 'removes script elements' , async ( ) => {
182+ it ( 'removes script elements' , ( ) => {
183183 expect ( webPageDOM . querySelector ( 'script' ) ) . to . be . null ;
184184 } ) ;
185185
186- it ( 'removes style elements' , async ( ) => {
186+ it ( 'removes style elements' , ( ) => {
187187 expect ( webPageDOM . querySelector ( 'style' ) ) . to . be . null ;
188188 } ) ;
189189 } ) ;
@@ -199,11 +199,11 @@ describe('Filter', () => {
199199 await filter ( webPageDOM , sourceDocument ) ;
200200 } ) ;
201201
202- it ( 'updates link destination' , async ( ) => {
202+ it ( 'updates link destination' , ( ) => {
203203 expect ( webPageDOM . querySelector ( 'a.email-protection' ) . href ) . to . equal ( 'https://example.com/email-protection' ) ;
204204 } ) ;
205205
206- it ( 'updates link content' , async ( ) => {
206+ it ( 'updates link content' , ( ) => {
207207 expect ( webPageDOM . querySelector ( 'a.email-protection' ) . innerHTML ) . to . equal ( '[email protected]' ) ;
208208 } ) ;
209209 } ) ;
You can’t perform that action at this time.
0 commit comments