mirror of
https://github.com/feathersjs/feathers.git
synced 2026-01-25 15:23:13 +00:00
15 lines
341 B
JavaScript
15 lines
341 B
JavaScript
'use strict';
|
|
|
|
var assert = require('assert');
|
|
|
|
var feathers = require('feathers');
|
|
var error = require('../lib/errors');
|
|
|
|
describe('Feathers errors', function () {
|
|
it('initializes .associate', function () {
|
|
var app = feathers().configure(errors());
|
|
|
|
assert.equal(typeof app.error, 'function', 'error method got added');
|
|
});
|
|
});
|