Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
Update index.spec.ts
  • Loading branch information
ShaMan123 committed Nov 11, 2023
1 parent 1a74c72 commit cf4e92d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/templates/next/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fabric from 'fabric';
import { NextPage } from 'next';
import type { NextPage } from 'next';
import { useCallback } from 'react';
import { Canvas } from '../components/Canvas';

Expand Down
4 changes: 3 additions & 1 deletion e2e/tests/SSR/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ test.describe('SSR', () => {

test.beforeAll(async ({}, testInfo) => {
testInfo.setTimeout(60 * 1000);
await killPort(PORT);
try {
await killPort(PORT);
} catch (error) {}
// import `startSandbox` directly once ESM is supported
// https://playwright.dev/docs/release-notes#improved-typescript-support
const task = spawn(`npm start next -- -p ${PORT} --no-watch`, {
Expand Down

0 comments on commit cf4e92d

Please sign in to comment.