Skip to content

Commit

Permalink
fix only test running
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorenc1986 committed Aug 29, 2024
1 parent 2ffb68b commit 56e6779
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Installation:

`npm install`

Run local dev server:

`npm run start`

To Run unit tests:

`npm run test:unit`
Expand All @@ -43,14 +47,18 @@ To Run Linter:
`npm run lint`


To Start Server:
To Start local server:

`npm run start`

To Visit App:

`localhost:1234`

To build for production

`npm run build`

## Reflection

- I want a to build on top of showdown a editor with more user friendly features
Expand Down
2 changes: 1 addition & 1 deletion e2e/Editor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test('hello world', async ({ page }) => {
/**
* check if user types on editor are the preview changes accordingly
*/
test.only('write markdown and get proper preview', async ({ page }) => {
test('write markdown and get proper preview', async ({ page }) => {
await page.goto('/');
await page.locator('#editor').fill(markdownHeaderLevelThree);
await expect((await page.locator('.preview').allInnerTexts()).toLocaleString()).toContain(
Expand Down

0 comments on commit 56e6779

Please sign in to comment.