Skip to content

Commit

Permalink
Migrate test suite to AVA (#128)
Browse files Browse the repository at this point in the history
* Replace Jasmine packages with AVA and friends

* Add C8 configuration file

* Ignore coverage folder

* Ignore coverage folder and add AVA linting

* Migrate test suite to AVA

* Update ESLint config
  • Loading branch information
jgarber623 authored Oct 14, 2023
1 parent e426517 commit e77cbc6
Show file tree
Hide file tree
Showing 8 changed files with 2,072 additions and 1,251 deletions.
7 changes: 7 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"reporter": [
"html",
"lcovonly",
"text"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/coverage/
/dist/
/node_modules/
6 changes: 4 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import ava from '@jgarber/eslint-config/ava';
import config from '@jgarber/eslint-config';

export default [
{
ignores: ['dist']
ignores: ['coverage', 'dist']
},
...config,
...ava,
{
files: ['src/*.js'],
files: ['src/*.js', 'test/*.js'],
languageOptions: {
globals: {
HTMLElement: 'readonly',
Expand Down
Loading

0 comments on commit e77cbc6

Please sign in to comment.