Skip to content

Commit

Permalink
Testing updating karma settings and browserstack
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 11, 2023
1 parent fdd306f commit d09d9a2
Show file tree
Hide file tree
Showing 4 changed files with 290 additions and 284 deletions.
13 changes: 10 additions & 3 deletions js/tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,16 @@ const config = {
colors: true,
autoWatch: false,
singleRun: true,
concurrency: Number.POSITIVE_INFINITY,
captureTimeout: 180_000,
browserDisconnectTolerance: 3,
browserDisconnectTimeout: 180_000,
browserNoActivityTimeout: 180_000,
concurrency: 5,
client: {
clearContext: false
clearContext: false,
jasmine: {
timeoutInterval: 20_000
}
},
files: [
'node_modules/hammer-simulator/index.js',
Expand Down Expand Up @@ -105,7 +112,7 @@ if (BROWSERSTACK) {
accessKey: ENV.BROWSER_STACK_ACCESS_KEY,
build: `bootstrap-${ENV.GITHUB_SHA ? `${ENV.GITHUB_SHA.slice(0, 7)}-` : ''}${new Date().toISOString()}`,
project: 'Bootstrap',
retryLimit: 2
retryLimit: 3
}
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
config.customLaunchers = browsers
Expand Down
1 change: 1 addition & 0 deletions js/tests/unit/dropdown.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ describe('Dropdown', () => {
resolve()
})

expect().nothing()
dropdown.show()
})
})
Expand Down

0 comments on commit d09d9a2

Please sign in to comment.