Skip to content

Commit

Permalink
use longTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Apr 18, 2024
1 parent 2c916b4 commit 2cb8f2c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions integration-tests/tests/src/tests/sync/geospatial.ts
Expand Up @@ -254,7 +254,7 @@ describe(`GeoSpatial`, () => {

describe("Base cases", () => {
it("GeoCircle basic", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

let circle: GeoCircle = {
center: [0, 0],
Expand Down Expand Up @@ -310,7 +310,7 @@ describe(`GeoSpatial`, () => {
});

it("GeoBox basic", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

let box: GeoBox = {
bottomLeft: [-1, -1],
Expand Down Expand Up @@ -366,7 +366,7 @@ describe(`GeoSpatial`, () => {
});

it("GeoPolygon basic", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

let polygon: GeoPolygon = {
outerRing: [
Expand Down Expand Up @@ -459,7 +459,7 @@ describe(`GeoSpatial`, () => {
});

it("Alternative GeoPoint", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

//Circle
let circle: GeoCircle = {
Expand Down Expand Up @@ -520,7 +520,7 @@ describe(`GeoSpatial`, () => {
});

it("Alternative GeoPolygon", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

//Polygon
let polygon: CanonicalGeoPolygon = {
Expand Down Expand Up @@ -567,7 +567,7 @@ describe(`GeoSpatial`, () => {

// Altitude throws an error in sync queries
it("Altitude is supported but ignored", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

let box: GeoBox = {
bottomLeft: [50, 50, 10],
Expand Down Expand Up @@ -600,7 +600,7 @@ describe(`GeoSpatial`, () => {
});

it("Coordinate Substitution", async function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

//Circle
const circle: GeoCircle = {
Expand Down Expand Up @@ -661,7 +661,7 @@ describe(`GeoSpatial`, () => {

// Not sync relevant, so we can skip doing this twice
it("Distance conversions", function (this: RealmContext) {
this.timeout(5000);
this.longTimeout();

//Test with about 60 centimeters accuracy
const km = 20;
Expand Down

0 comments on commit 2cb8f2c

Please sign in to comment.