Skip to content

Commit

Permalink
some changes after discussion on team call.
Browse files Browse the repository at this point in the history
  • Loading branch information
paul90 committed Nov 23, 2024
1 parent 56c015f commit 1855166
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lib/security.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
* Uses of plugin getScript to load the security plugin's client code
*/

let security
module.exports = security = {}

const plugin = require('./plugin')

module.exports = user => plugin.getScript('/security/security.js', () => window.plugins.security.setup(user))
2 changes: 1 addition & 1 deletion test/drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const mockDrop = dataTransfer => ({
const mockUrl = (type, url) =>
mockDrop({
types: [type],
getData(spec) {
getData() {
return url
},
})
Expand Down
2 changes: 1 addition & 1 deletion test/neighborhood.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('neighborhood', function () {
expect(searchResult.finds.page).to.eql(expectedResult.page)
})

return it.skip('searches both the slug and the title')
it.skip('searches both the slug and the title')
})

describe('more than one neighbor', function () {
Expand Down
4 changes: 2 additions & 2 deletions test/plugin.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const plugin = require('../lib/plugin')
const sinon = require('sinon')
// const sinon = require('sinon')
const expect = require('expect.js')

describe('plugin', function () {
const fakeDeferred = undefined
// const fakeDeferred = undefined
let $page = null

before(function () {
Expand Down

0 comments on commit 1855166

Please sign in to comment.