-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from solid/update-deps
Update dependencies
- Loading branch information
Showing
8 changed files
with
1,379 additions
and
1,412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ sudo: false | |
|
||
language: node_js | ||
|
||
node_js: "8.10" | ||
node_js: "12" | ||
|
||
script: npm run test |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const imported = require('isomorphic-webcrypto') | ||
|
||
module.exports = (imported.default ? imported.default : imported) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
'use strict' | ||
|
||
/** | ||
* Test dependencies | ||
*/ | ||
const chai = require('chai') | ||
const chaiAsPromised = require('chai-as-promised') | ||
|
||
/** | ||
* Assertions | ||
*/ | ||
chai.should() | ||
chai.use(chaiAsPromised) | ||
let expect = chai.expect | ||
|
||
/** | ||
* Code under test | ||
*/ | ||
const Index = require('../src/') | ||
|
||
/** | ||
* Tests | ||
*/ | ||
describe('Index', () => { | ||
it('exports crypto', () => { | ||
return Object.keys(Index.crypto).should.deep.equal(['subtle']) | ||
}) | ||
}) |
This file was deleted.
Oops, something went wrong.