forked from cadence/out-of-your-element
add tests, implement kstate and state diffing
This commit is contained in:
parent
c7868e9dbb
commit
f09eeccef3
10 changed files with 2656 additions and 64 deletions
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")
|
Loading…
Add table
Add a link
Reference in a new issue