11import { Company , User } from "../../Assets/Entities" ;
2- import { testContext , disposeTestDocumentStore } from "../../Utils/TestUtil" ;
2+ import { testContext , disposeTestDocumentStore , RavenTestContext } from "../../Utils/TestUtil" ;
33
44import DocumentStore , {
55 IDocumentStore ,
@@ -12,7 +12,7 @@ import * as assert from "assert";
1212// skipped for the time being
1313// subscriptions are not working with server version 4.1
1414// due to RavenDB-12127
15- describe ( "RevisionsSubscriptionsTest" , function ( ) {
15+ ( RavenTestContext . is60Server ? describe . skip : describe ) ( "RevisionsSubscriptionsTest" , function ( ) {
1616 this . timeout ( 5 * 10 * 1000 ) ;
1717
1818 let store : IDocumentStore ;
@@ -238,11 +238,11 @@ describe("RevisionsSubscriptionsTest", function () {
238238 const actualPreviousNames = items
239239 . filter ( x => x . rawResult . previous )
240240 . map ( x => x . rawResult . previous . name ) ;
241-
241+
242242 actualPreviousNames . sort ( ) ;
243243 assert . strictEqual ( actualPreviousNames . length , 9 ) ;
244244 assert . strictEqual (
245- JSON . stringify ( actualPreviousNames ) ,
245+ JSON . stringify ( actualPreviousNames ) ,
246246 JSON . stringify ( expectedNames . filter ( x => x !== "users1 ver 9" ) ) ) ;
247247
248248 } finally {
0 commit comments