mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
19 lines
411 B
JavaScript
19 lines
411 B
JavaScript
const salty = require('../../index');
|
|
|
|
describe('@jsdoc/salty', () => {
|
|
it('is an object', () => {
|
|
expect(salty).toBeObject();
|
|
});
|
|
|
|
describe('taffy', () => {
|
|
it('is a function', () => {
|
|
expect(salty.taffy).toBeFunction();
|
|
});
|
|
|
|
// The tests for lib/salty test the function's behavior.
|
|
it('returns a function', () => {
|
|
expect(salty.taffy()).toBeFunction();
|
|
});
|
|
});
|
|
});
|