Skip to content

Commit

Permalink
Skip tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Apr 2, 2023
1 parent d6a0959 commit 57230c3
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 25 deletions.
7 changes: 0 additions & 7 deletions playground/next/app/frames/default/head.jsx

This file was deleted.

8 changes: 5 additions & 3 deletions playground/next/app/frames/default/page.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
'use client'
import WhyframeApp from '../../../components/WhyframeApp'

import { createApp } from 'whyframe:app'
export const metadata = {
title: 'Whyframe - Default'
}

export default function Page() {
return (
<>
<div ref={(el) => createApp(el)}></div>
<WhyframeApp />
</>
)
}
7 changes: 0 additions & 7 deletions playground/next/app/frames/special/head.jsx

This file was deleted.

10 changes: 6 additions & 4 deletions playground/next/app/frames/special/page.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
'use client'

import WhyframeApp from '../../../components/WhyframeApp'
import './page.css'
import { createApp } from 'whyframe:app'

export const metadata = {
title: 'Whyframe - Default'
}

export default function Page() {
return (
<>
<div ref={(el) => createApp(el)}></div>
<WhyframeApp />
</>
)
}
11 changes: 11 additions & 0 deletions playground/next/components/WhyframeApp.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use client'

import { createApp } from 'whyframe:app'

export default function WhyframeApp() {
return (
<>
<div ref={(el) => el && createApp(el)}></div>
</>
)
}
8 changes: 4 additions & 4 deletions playground/webpack-react/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ export default function App() {
return (
<main>
<div>
<a href="https://vitejs.dev" target="_blank">
<a href="https://webpack.js.org" target="_blank">
<img
src="/vite.svg"
className={`${style.logo} ${style.vite}`}
alt="vite"
src="/webpack.svg"
className={`${style.logo} ${style.webpack}`}
alt="webpack"
height="80"
/>
</a>
Expand Down
7 changes: 7 additions & 0 deletions tests/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ import dns from 'node:dns/promises'
import fs from 'node:fs/promises'
import { devices } from '@playwright/test'

const ignoredProjects = [
'playground-next', // bizarre compile error
'playground-nuxt' // "[nuxt] [request error] [unhandled] [500] Context conflict" in dev and prod
]

/** @type {import('@playwright/test').PlaywrightTestConfig} */
export default {
forbidOnly: !!process.env.CI,
Expand Down Expand Up @@ -29,6 +34,8 @@ async function getProjects() {
let port = 8180

for (const dirent of dirents) {
if (ignoredProjects.includes(dirent.name)) continue

if (dirent.isDirectory() && dirent.name !== 'node_modules') {
const pkgJsonPath = new URL(`./${dirent.name}/package.json`, testsDir)
let pkgJson
Expand Down

0 comments on commit 57230c3

Please sign in to comment.