Skip to content

Commit

Permalink
docs: Fix simple typo, overriden -> overridden (#3453)
Browse files Browse the repository at this point in the history
There is a small typo in context/karma.js, docs/config/01-configuration-file.md, test/unit/config.spec.js.

Should read `overridden` rather than `overriden`.
  • Loading branch information
timgates42 authored Apr 6, 2020
1 parent ec1e69a commit 0647109
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion context/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function ContextKarma (callParentKarmaMethod) {
// remove reference to child iframe
this.start = UNIMPLEMENTED_START
}
// supposed to be overriden by the context
// supposed to be overridden by the context
// TODO(vojta): support multiple callbacks (queue)
this.start = UNIMPLEMENTED_START

Expand Down
2 changes: 1 addition & 1 deletion docs/config/01-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ proxyRes: function(proxyRes, req, res) {

**Description:** For use when the Karma server needs to be run behind a proxy that changes the base url, etc

If set then the following fields will be defined and can be overriden:
If set then the following fields will be defined and can be overridden:

### path
**Type:** String
Expand Down
4 changes: 2 additions & 2 deletions test/unit/config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('config', () => {
expect(patternsFrom(config.files)).to.deep.equal([resolveWinPath('/home/tests/unit.spec.js')])
})

it('should resolve files and excludes to overriden basePath from cli', () => {
it('should resolve files and excludes to overridden basePath from cli', () => {
const config = e.parseConfig('/conf/both.js', { port: 456, autoWatch: false, basePath: '/xxx' })

expect(config.basePath).to.equal(resolveWinPath('/xxx'))
Expand Down Expand Up @@ -247,7 +247,7 @@ describe('config', () => {
const config = e.parseConfig(null, { basePath: '/some' })

expect(logSpy).not.to.have.been.called
expect(config.basePath).to.equal(resolveWinPath('/some')) // overriden by CLI
expect(config.basePath).to.equal(resolveWinPath('/some')) // overridden by CLI
expect(config.urlRoot).to.equal('/')
}) // default value

Expand Down

0 comments on commit 0647109

Please sign in to comment.