Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
glassmonkey committed Jul 6, 2024
1 parent a0da1dd commit 218f105
Show file tree
Hide file tree
Showing 10 changed files with 481 additions and 454 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module.exports = {
internal: 'internal',
},
},
react: {
version: 'detect',
}
},
extends: [
'eslint:recommended',
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
cache: 'npm'
- run: npm ci
- run: make lint
- run: make test-ci
- run: make test-ci
env:
LANG: ja_JP.UTF-8
4 changes: 2 additions & 2 deletions tests/e2e.spec.ts → e2e/e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expect, test} from '@playwright/test';
import {versions} from "../src/php-wasm/php";

const PAGE = 'http://localhost:18888';
const PAGE = 'http://127.0.0.1:18888';
test.describe('default page', () => {
test.beforeEach(async ({page}) => {
await page.goto(PAGE);
Expand All @@ -17,7 +17,7 @@ test.describe('default page', () => {
})

test('default URL', async ({ page }) => {
expect(page.url()).toBe('http://localhost:18888/?c=DwfgDgFmBQD0sAICmAPAhgWzAGyQgxgPYAmS0kYAlgHYBmhAFAJQDcQA&v=8.3&f=html')
expect(page.url()).toBe('http://127.0.0.1:18888/?c=DwfgDgFmBQD0sAICmAPAhgWzAGyQgxgPYAmS0kYAlgHYBmhAFAJQDcQA&v=8.3&f=html')
})

test('switch preview', async ({ page }) => {
Expand Down
Loading

0 comments on commit 218f105

Please sign in to comment.