-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace var with let and const and use arrow functions in /…
…test
- Loading branch information
1 parent
704c79f
commit 90aa987
Showing
4 changed files
with
143 additions
and
143 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
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
var assert = require('assert'); | ||
var lzbase62 = require('../src/index'); | ||
const assert = require('assert'); | ||
const lzbase62 = require('../src/index'); | ||
|
||
describe('lzbase62', function() { | ||
it('should have valid main methods', function() { | ||
describe('lzbase62', () => { | ||
it('should have valid main methods', () => { | ||
assert(typeof lzbase62.compress === 'function'); | ||
assert(typeof lzbase62.decompress === 'function'); | ||
}); | ||
|
||
it('should have valid methods and properties', function() { | ||
it('should have valid methods and properties', () => { | ||
assert(typeof lzbase62.version === 'string'); | ||
}); | ||
}); |
Oops, something went wrong.