Skip to content

Commit

Permalink
Merge pull request #53 from maykinmedia/fix-submit
Browse files Browse the repository at this point in the history
Fix enter key not submitting form
  • Loading branch information
SonnyBA authored Feb 1, 2021
2 parents d476063 + f160c3b commit 010cf91
Show file tree
Hide file tree
Showing 10 changed files with 6,896 additions and 3,266 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Dual Listbox'

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm ci
- run: npm test
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions dist/dual-listbox.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/dual-listbox.css.map

This file was deleted.

116 changes: 114 additions & 2 deletions dist/dual-listbox.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/dual-listbox.js.map

This file was deleted.

38 changes: 13 additions & 25 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ module.exports = function (config) {
platform: 'Windows 10',
version: '14.14393'
},
// sl_safari: {
// base: 'SauceLabs',
// browserName: 'safari',
// platform: 'macOS 10.14',
// version: '12.0'
// },
sl_safari_1: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'macOS 11.00',
version: 'latest'
},
sl_safari_2: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.13',
version: '11.1'
platform: 'macOS 10.13',
version: '12.1'
},
sl_firefox: {
base: 'SauceLabs',
Expand All @@ -90,12 +90,6 @@ module.exports = function (config) {
platform: 'Windows 10',
version: 'latest-1'
},
sl_ie_11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
}
}

config.set({
Expand All @@ -122,27 +116,21 @@ module.exports = function (config) {

sauceLabs: {
testName: 'dual-listbox browser testing',
// startConnect: false,
username: process.env.SAUCE_USERNAME,
accessKey: process.env.SAUCE_ACCESS_KEY,
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
},


webpackMiddleware: {
noInfo: true
tunnelIdentifier: process.env.GITHUB_RUN_ID,
},

autoWatch: process.env.CI ? false: true,
singleRun: process.env.CI ? true: false,
browserNoActivityTimeout: 200000,
captureTimeout: 200000,
colors: true,
concurrency: 5,
customLaunchers: customLaunchers,
retryLimit: 5,
singleRun: false,

browsers: (process.env.TRAVIS) ? Object.keys(customLaunchers) : ['Chrome', 'Firefox'],
reporters: (process.env.TRAVIS) ? ['spec', 'coverage', 'saucelabs', 'coveralls'] : ['spec', 'coverage'],
browsers: (process.env.CI) ? Object.keys(customLaunchers) : ['Chrome', 'Firefox'],
reporters: (process.env.CI) ? ['spec', 'coverage', 'saucelabs', 'coveralls'] : ['spec', 'coverage'],

specReporter: {
suppressSkipped: true,
Expand Down
Loading

0 comments on commit 010cf91

Please sign in to comment.