Skip to content

Commit

Permalink
chore: fix test output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Aug 28, 2023
1 parent 407e58a commit 4ce5b2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion __tests__/e2e-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions data/regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ export const data = `
{"2023" string:matches "[0-9]{4}"} => {:test2 :is :ok}.
`;

export const result = `@prefix : <urn:example:>.
@prefix string: <http://www.w3.org/2000/10/swap/string#>.
export const result = `
<urn:example:test1> <urn:example:is> <urn:example:ok>.
<urn:example:test2> <urn:example:is> <urn:example:ok>.
`;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 4ce5b2e

Please sign in to comment.