Skip to content

Commit

Permalink
test: add javascript module integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Jun 13, 2021
1 parent 2f2b5e2 commit b52c0c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions __tests__/integration/module.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// sample/app.js
const sgd = require('../../lib/main')

test('javascript-module', () => {
expect(sgd).toBeDefined()
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"main": "src/main.js",
"main": "lib/main.js",
"bin": {
"sgd": "./bin/cli"
},
Expand Down Expand Up @@ -109,4 +109,4 @@
"sfdc": {
"latestApiVersion": "51"
}
}
}

0 comments on commit b52c0c6

Please sign in to comment.