@@ -3,8 +3,8 @@ import { expect } from 'chai'
33import { DuplicatePatternRemover } from '../DuplicatePatternRemover.js'
44import { loadQuery , stringifyQuery } from './lib/query.js'
55
6- describe ( 'DuplicatePatternRemover' , ( ) => {
7- it ( 'removes equal consecutive OPTIONAL graph patterns' , ( ) => {
6+ describe ( 'DuplicatePatternRemover' , function ( ) {
7+ it ( 'removes equal consecutive OPTIONAL graph patterns' , function ( ) {
88 // given
99 const processor = new DuplicatePatternRemover ( rdf )
1010
@@ -16,7 +16,7 @@ describe('DuplicatePatternRemover', () => {
1616 . to . deep . equal ( stringifyQuery ( loadQuery ( 'duplicate-optional.expected.rq' ) ) )
1717 } )
1818
19- it ( 'removes equal non-consecutive OPTIONAL graph patterns' , ( ) => {
19+ it ( 'removes equal non-consecutive OPTIONAL graph patterns' , function ( ) {
2020 // given
2121 const processor = new DuplicatePatternRemover ( rdf )
2222
@@ -28,7 +28,7 @@ describe('DuplicatePatternRemover', () => {
2828 . to . deep . equal ( stringifyQuery ( loadQuery ( 'duplicate-optional.not-adjacent.expected.rq' ) ) )
2929 } )
3030
31- it ( 'preserves OPTIONAL graph patterns if they are not exactly the same' , ( ) => {
31+ it ( 'preserves OPTIONAL graph patterns if they are not exactly the same' , function ( ) {
3232 // given
3333 const processor = new DuplicatePatternRemover ( rdf )
3434
@@ -40,7 +40,7 @@ describe('DuplicatePatternRemover', () => {
4040 . to . deep . equal ( stringifyQuery ( loadQuery ( 'similar-optional.rq' ) ) )
4141 } )
4242
43- it ( 'preserves OPTIONAL graph patterns if they contain non-BGP patterns' , ( ) => {
43+ it ( 'preserves OPTIONAL graph patterns if they contain non-BGP patterns' , function ( ) {
4444 // given
4545 const processor = new DuplicatePatternRemover ( rdf )
4646
0 commit comments