Skip to content

Commit

Permalink
chore(tests): add e2e tests with WebdriverIO (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban authored Oct 7, 2024
1 parent 62b2acf commit 6cff471
Show file tree
Hide file tree
Showing 27 changed files with 13,577 additions and 4,191 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.tool-versions'
cache: 'npm'
Expand All @@ -26,6 +25,3 @@ jobs:

- name: Test
run: npm test

- name: Build
run: npm run build
21 changes: 18 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default [
languageOptions: {
globals: {
...globals.browser,
...globals.node,
...globals.serviceworker,
...globals.webextensions,
__PLATFORM__: 'readonly',
Expand All @@ -21,6 +20,22 @@ export default [
},
},
{
ignores: ['src/rule_resources*'],
}
files: ['scripts/**/*.js', 'tests/**/*.js'],
languageOptions: {
globals: {
...globals.node,
},
},
},
{
files: ['tests/**/*.spec.js'],
languageOptions: {
globals: {
...globals.mocha,
},
},
},
{
ignores: ['dist/*', 'xcode/*', 'src/rule_resources*'],
},
];
Loading

0 comments on commit 6cff471

Please sign in to comment.