Versions

  • v4

    10/23/2023
    Open: Version
    Changes from v3 to v4
    +3
    -1
    export const unauthenticatedCantMutateViaObjectSneak =
    @stevekrouse.testMutateSemantics({
    stateName: "@stevekrouse.testState",
    api: "localhost:3001",
    ⦚ 8 unchanged lines ⦚
    import { testMutateSemantics } from "https://esm.town/v/stevekrouse/testMutateSemantics";

    export const unauthenticatedCantMutateViaObjectSneak =
    testMutateSemantics({
    stateName: "@stevekrouse.testState",
    api: "localhost:3001",
    ⦚ 8 unchanged lines ⦚
  • v3

    3/30/2023
    Open: Version
    Changes from v2 to v3
    +1
    -1
    export const unauthenticatedCantMutateViaObjectSneak =
    @stevekrouse.testMutateSemantics({
    stateName: "@stevekrouse.testState",
    api: "localhost:3001",
    expected: (old, next) => next.n2 == undefined,
    mutator: (now) => `(() => {
    let d = {n: ${now}};
    ⦚ 5 unchanged lines ⦚
    export const unauthenticatedCantMutateViaObjectSneak =
    @stevekrouse.testMutateSemantics({
    stateName: "@stevekrouse.testState",
    api: "localhost:3001",
    expected: (old, next) => next.n2 !== next.n,
    mutator: (now) => `(() => {
    let d = {n: ${now}};
    ⦚ 5 unchanged lines ⦚
  • v2

    3/30/2023
    Open: Version
    Changes from v1 to v2
    +0
    -0
    ⦚ 12 unchanged lines ⦚
    ⦚ 12 unchanged lines ⦚
  • v1

    3/30/2023
    Open: Version
    Changes from v0 to v1
    +0
    -0
    ⦚ 12 unchanged lines ⦚
    ⦚ 12 unchanged lines ⦚
  • v0

    3/30/2023
    Open: Version
    +12
    -0

    export const unauthenticatedCantMutateViaObjectSneak =
    @stevekrouse.testMutateSemantics({
    stateName: "@stevekrouse.testState",
    api: "localhost:3001",
    expected: (old, next) => next.n2 == undefined,
    mutator: (now) => `(() => {
    let d = {n: ${now}};
    @stevekrouse.mutateTestState(d);
    d.n2 = ${now}
    })()`,
    authenticated: false,
    });
1
Next
Updated: October 23, 2023