Test cleanup and fixes [a-b]
This commit is contained in:
@ -5,6 +5,8 @@ const radsToDegrees = require('./radsToDegrees.js');
|
||||
test('radsToDegrees is a Function', () => {
|
||||
expect(radsToDegrees).toBeInstanceOf(Function);
|
||||
});
|
||||
t.equal(radsToDegrees(Math.PI / 2), 90, 'Returns the appropriate value');
|
||||
test('Returns the appropriate value', () => {
|
||||
expect(radsToDegrees(Math.PI / 2), 90).toBe()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user