Skip to content

Instantly share code, notes, and snippets.

View louiechristie's full-sized avatar

Louie Christie louiechristie

View GitHub Profile
@louiechristie
louiechristie / machine.js
Last active June 21, 2022 11:32
Generated by XState Viz: https://xstate.js.org/viz
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View checkout_spec.rb
require_relative 'spec_helper'
require_relative '../checkout'
describe Checkout do
let(:checkout) do
Checkout.new("FR1: BOGOF, SR1: 3_OR_MORE_DISC0.50")
end
describe ".new" do