Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Andric committed Feb 23, 2019
0 parents commit 90252f0
Show file tree
Hide file tree
Showing 11 changed files with 8,251 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.cache
dist
33 changes: 33 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# extension-testing-example

Browser extension example using Parcel, Mocha, Sinon-Chrome and Chrome API.

Hoping to make it work with Firefox then Safari next.

# Build

```
git clone [this repo]
npm install
npm run build # runs parcel build src/manifest.json
```

Then you should be able to load the `dist/` directory into your Chrome browser
as an extension and see Fibonacci greatness.

If you prefer unminified builds you can pass a flag to Parcel.

```
npx parcel build --no-minify --no-source-maps src/manifest.json
```

# Unit Tests

```
npm test # runs mocha
```

# Integration Tests

Planning to use Puppeteer here (Chrome only) to start out with.

Loading

0 comments on commit 90252f0

Please sign in to comment.