Pre-deployment

This commit is contained in:
Rob Cameron
2020-10-07 14:41:40 -07:00
parent db42525fd9
commit 35456b0a4d
56 changed files with 1787 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
import BlogLayout from 'src/layouts/BlogLayout'
import BlogPostCell from 'src/components/BlogPostCell'
const BlogPostPage = ({ id }) => {
return (
<BlogLayout>
<BlogPostCell id={id} />
</BlogLayout>
)
}
export default BlogPostPage

View File

@@ -0,0 +1,7 @@
import BlogPostPage from './BlogPostPage'
export const generated = () => {
return <BlogPostPage />
}
export default { title: 'Pages/BlogPostPage' }

View File

@@ -0,0 +1,11 @@
import { render } from '@redwoodjs/testing'
import BlogPostPage from './BlogPostPage'
describe('BlogPostPage', () => {
it('renders successfully', () => {
expect(() => {
render(<BlogPostPage />)
}).not.toThrow()
})
})