Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions deno.json

This file was deleted.

10 changes: 10 additions & 0 deletions scripts/build.ts → scripts/build.affine
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module build;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// Build script for DoubleTrack Browser extension
// Uses Deno for file operations

Expand Down Expand Up @@ -96,3 +104,5 @@ async function build() {
if (import.meta.main) {
await build();
}

==================================== */
10 changes: 10 additions & 0 deletions tests/affine/driver.ts → tests/affine/driver.affine
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module driver;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
//
// Deno test driver for the AffineScript tests in tests/affine/.
Expand All @@ -15,3 +23,5 @@
import { runAll } from "@hyperpolymath/affinescript-deno-test";

await runAll(new URL("./", import.meta.url).pathname);

==================================== */
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module security_test;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// Security aspect tests for DoubleTrack browser extension

import { assertEquals, assertStringIncludes } from "jsr:@std/assert";
Expand Down Expand Up @@ -211,3 +219,5 @@ Deno.test("Security: permission boundaries", () => {
assertEquals(extensionPerms.tabs, true);
assertEquals(extensionPerms.webRequest, false);
});

==================================== */
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module extension_lifecycle_test;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// End-to-end tests for DoubleTrack extension lifecycle

import { assertEquals, assertExists } from "jsr:@std/assert";
Expand Down Expand Up @@ -186,3 +194,5 @@ Deno.test("Extension lifecycle: profile switching", () => {
assertEquals(state.profile.id, "profile_2");
assertEquals(state.activities.length, 0);
});

==================================== */
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module extension_properties_test;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// Property-based tests for DoubleTrack extension invariants

import { assertEquals } from "jsr:@std/assert";
Expand Down Expand Up @@ -136,3 +144,5 @@ Deno.test("Extension invariant: activity type is known", () => {
assertEquals(validateActivityType("PageVisit"), true);
assertEquals(validateActivityType("InvalidType"), false);
});

==================================== */
10 changes: 10 additions & 0 deletions tests/unit/types_test.ts → tests/unit/types_test.affine
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
// SPDX-License-Identifier: MPL-2.0
// Ported via Harvard Engine mechanical processor

module types_test;

// TODO: Complete semantic implementation

/* === ORIGINAL TYPESCRIPT CONTEXT ===
// SPDX-License-Identifier: MPL-2.0
// Unit tests for DoubleTrack TypeScript type contracts

import { assertEquals, assertExists, assertStringIncludes } from "jsr:@std/assert";
Expand Down Expand Up @@ -77,3 +85,5 @@ Deno.test("Activity log schema", () => {
assertStringIncludes(activity.url, "https://");
assertEquals(activity.duration_seconds > 0, true);
});

==================================== */
Loading