style: fmt examples
This commit is contained in:
parent
a91bc95bd5
commit
9d14ed5e84
1 changed files with 8 additions and 8 deletions
|
@ -13,16 +13,16 @@ async function main() {
|
|||
const sm = smbTurnstile.build(locked);
|
||||
|
||||
function logCurrentState() {
|
||||
console.log('current state', JSON.stringify(sm.currentState.name))
|
||||
console.log("current state", JSON.stringify(sm.currentState.name));
|
||||
}
|
||||
|
||||
logCurrentState()
|
||||
await sm.trigger('coin', {})
|
||||
logCurrentState()
|
||||
await sm.trigger('push', {})
|
||||
logCurrentState()
|
||||
await sm.trigger('push', {})
|
||||
logCurrentState()
|
||||
logCurrentState();
|
||||
await sm.trigger("coin", {});
|
||||
logCurrentState();
|
||||
await sm.trigger("push", {});
|
||||
logCurrentState();
|
||||
await sm.trigger("push", {});
|
||||
logCurrentState();
|
||||
}
|
||||
|
||||
if (import.meta.main) {
|
||||
|
|
Loading…
Reference in a new issue