From 4ce5b2e2a028dd9e7cbd62e4be8075eb887f4fe5 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Tue, 29 Aug 2023 00:20:46 +1000 Subject: [PATCH] chore: fix test output --- __tests__/e2e-test.ts | 2 +- data/regex.ts | 5 +---- package.json | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/__tests__/e2e-test.ts b/__tests__/e2e-test.ts index ec625cc4..89890154 100644 --- a/__tests__/e2e-test.ts +++ b/__tests__/e2e-test.ts @@ -35,7 +35,7 @@ describe('Testing browsers', () => { await new Promise((res) => { setTimeout(res, 1000); }); await expect(page.textContent('textarea[id=data]').then((r) => r?.trim())).resolves.toEqual(data.trim()); - await expect(page.textContent('div[id=result]').then((r) => r?.trim())).resolves.toEqual('@prefix rdfs: .@prefix : .:Socrates a :Mortal.'); + await expect(page.textContent('div[id=result]').then((r) => r?.trim())).resolves.toEqual('@prefix : .:Socrates a :Mortal.'); await page.click('button[id=clear]'); // Time for new result to be inserted in the DOM diff --git a/data/regex.ts b/data/regex.ts index ad3a185e..b74212a2 100644 --- a/data/regex.ts +++ b/data/regex.ts @@ -6,10 +6,7 @@ export const data = ` {"2023" string:matches "[0-9]{4}"} => {:test2 :is :ok}. `; -export const result = `@prefix : . -@prefix string: . - +export const result = ` . . - `; diff --git a/package.json b/package.json index 93fa59ce..b0cfbf4f 100644 --- a/package.json +++ b/package.json @@ -137,8 +137,8 @@ }, "config": { "eye": { - "name": "v4.14.8", - "url": "https://api.github.com/repos/eyereasoner/eye/releases/118624916" + "name": "v4.14.9", + "url": "https://api.github.com/repos/eyereasoner/eye/releases/118801444" } }, "dependencies": {