2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-20 20:00:33 +03:00

fixes lint and test errors

This commit is contained in:
Nikolay Kostyurin
2018-07-08 13:30:13 +02:00
parent 8832c07646
commit 2d02b2241a
19 changed files with 76 additions and 60 deletions
+2
View File
@@ -0,0 +1,2 @@
dist
test
+1 -1
View File
@@ -7,5 +7,5 @@ const bbob = require('@bbob/core');
const presetHTML5 = require('@bbob/preset-html5');
const code = `[i]Text[/i]`;
const processor = bbob([presetHTML5]).process(code, {sync: true})
const processor = bbob([presetHTML5]).process(code, {sync: true}).html
```
+12 -11
View File
@@ -1,18 +1,19 @@
class BBob {
constructor(plugins) {
this.plugins = plugins;
}
parse() {
}
stringify() {
}
process(input) {
}
// parse() {
//
// }
//
// stringify() {
//
// }
//
// process(input) {
//
// }
}
module.exports = function bbob(...plugins) {
+5
View File
@@ -0,0 +1,5 @@
describe('@bbob/core', () => {
test('1', () => {
expect(1).toBe(1);
});
});