mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 20:36:19 +08:00
86385e0d86
- Introduced the Jest testing framework into our server side code so plugins can now have tests that run
12 lines
211 B
JavaScript
12 lines
211 B
JavaScript
let values = {};
|
|
|
|
const getScores = () => values.getScores;
|
|
|
|
const isToxic = () => values.isToxic;
|
|
|
|
const setValues = newValues => {
|
|
values = newValues;
|
|
};
|
|
|
|
module.exports = { getScores, isToxic, setValues };
|