mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 03:43:48 +08:00
86385e0d86
- Introduced the Jest testing framework into our server side code so plugins can now have tests that run
8 lines
137 B
JavaScript
8 lines
137 B
JavaScript
const { get } = require('lodash');
|
|
|
|
module.exports = {
|
|
Comment: {
|
|
spam: comment => get(comment, 'metadata.akismet', null),
|
|
},
|
|
};
|