Skip to content

Commit

Permalink
Update Algolia Env
Browse files Browse the repository at this point in the history
Closes gh-30
  • Loading branch information
rwinch committed May 21, 2024
1 parent 817f057 commit 267327c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/set-algolia-env-extension.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

module.exports.register = function () {
process.env.ALGOLIA_API_KEY = '9d489079e5ec46dbb238909fee5c9c29'
process.env.ALGOLIA_API_KEY = 'c2e84f15fa630d534f1c62b1c413bb77'
process.env.ALGOLIA_APP_ID = 'WB1FQYI187'
process.env.ALGOLIA_INDEX_NAME = 'springdocs'
}
2 changes: 1 addition & 1 deletion test/set-algolia-env-extension-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('extensions', () => {

it('should be able to call register function exported by extension', () => {
ext.register.call()
expect(process.env.ALGOLIA_API_KEY).to.eql('9d489079e5ec46dbb238909fee5c9c29')
expect(process.env.ALGOLIA_API_KEY).to.eql('c2e84f15fa630d534f1c62b1c413bb77')
expect(process.env.ALGOLIA_APP_ID).to.eql('WB1FQYI187')
expect(process.env.ALGOLIA_INDEX_NAME).to.eql('springdocs')
})
Expand Down

0 comments on commit 267327c

Please sign in to comment.