Skip to content
Draft
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ tools/
# LFS build artifacts
os/lfs/output/

# Test-generated data
data/devices/
data/queue/

# Local sensitive scripts (do not commit)
scripts/dummy-sa.json
scripts/gcloud-startup.ps1
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "npm install",
"apply:network-boost": "powershell -ExecutionPolicy Bypass -File scripts/network-boost.ps1 -Apply -Confirm:$false",
"show:network-boost": "powershell -ExecutionPolicy Bypass -File scripts/network-boost.ps1",
"test": "echo No-tests-specified",
"test": "node tests/unit/test-device-status-transitions.js",
"test:devices": "node tests/test-device-registration.js",
"test:integration:devices": "node tests/integration/test-e2e-device-registration.js",
"test:unit:devices": "node tests/unit/test-device-status-transitions.js",
Expand Down
2 changes: 0 additions & 2 deletions tests/test-device-registration.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import fetch from 'node-fetch';

const BASE = process.env.BASE || 'http://localhost:3001';

async function run() {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test-device-status-transitions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { saveRegistration, transitionStatus, getRegistration } from '../lib/deviceStore.js';
import { enqueue, dequeue } from '../lib/messageQueue.js';
import { saveRegistration, transitionStatus, getRegistration } from '../../lib/deviceStore.js';
import { enqueue, dequeue } from '../../lib/messageQueue.js';

async function testStatusTransitions() {
console.log('Testing status transitions...');
Expand Down
Loading