add tests, implement kstate and state diffing
This commit is contained in:
15
test/test.js
Normal file
15
test/test.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// @ts-check
|
||||
|
||||
const sqlite = require("better-sqlite3")
|
||||
const HeatSync = require("heatsync")
|
||||
|
||||
const config = require("../config")
|
||||
const passthrough = require("../passthrough")
|
||||
const db = new sqlite("db/ooye.db")
|
||||
|
||||
// @ts-ignore
|
||||
const sync = new HeatSync({persistent: false})
|
||||
|
||||
Object.assign(passthrough, { config, sync, db })
|
||||
|
||||
require("../d2m/actions/create-room")
|
||||
Reference in New Issue
Block a user