Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite: 11ty website #266

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules
/site/build
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /
title: Mochify
---

# [![Mochify](header.png)](https://github.com/mantoni/mochify.js/)

> TDD with Browserify, Mocha, Headless Chrome and WebDriver
Expand Down
12 changes: 12 additions & 0 deletions assets/bootstrap.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /cli/
tags: nav
title: Mochify CLI
---
# Mochify CLI

## Usage
Expand Down
10 changes: 10 additions & 0 deletions docs/drivers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
tags: nav
title: Mochify drivers
---

# Mochify drivers

- Concepts
- Usage
- Custom drivers
5 changes: 5 additions & 0 deletions driver-jsdom/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /driver-jsdom/
tags: nav
title: Mochify driver for JSDOM
---
# Mochify driver for JSDOM

Run tests in [JSDOM][web].
Expand Down
5 changes: 5 additions & 0 deletions driver-playwright/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /driver-playwright/
tags: nav
title: Mochify driver for Playwright
---
# Mochify driver for Playwright

Run tests in [Playwright][web].
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-playwright/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function mochifyDriver(options = {}) {
const {
stderr = process.stderr,
engine = 'firefox',
url = `file:${__dirname}/index.html`,
url = `file:${__dirname}/empty.html`,
...launch_options
} = options;

Expand Down
5 changes: 5 additions & 0 deletions driver-puppeteer/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /driver-puppeteer/
tags: nav
title: Mochify driver for Puppeteer
---
# Mochify driver for Puppeteer

Run tests in [Puppeteer][web].
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-puppeteer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports.mochifyDriver = mochifyDriver;
*/
async function mochifyDriver(options = {}) {
const {
url = `file:${__dirname}/index.html`,
url = `file:${__dirname}/empty.html`,
stderr = /** @type {Writable} */ (process.stderr),
...launch_options
} = options;
Expand Down
5 changes: 5 additions & 0 deletions driver-webdriver/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
permalink: /driver-webdriver/
tags: nav
title: Mochify driver for WebDriver
---
# Mochify driver for WebDriver

## Local Selenium
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion driver-webdriver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { WebDriver } = require('webdriver');

exports.mochifyDriver = mochifyDriver;

const default_url = `file:${__dirname}/index.html`;
const default_url = `file:${__dirname}/empty.html`;

/**
* @param {Object} [options]
Expand Down
7 changes: 7 additions & 0 deletions mochify/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
permalink: /mochify/
tags: nav
title: Mochify API
---

# Mochify API
Loading
Loading