Fix Vitest suite and wire cloud/AWS dashboard API helpers.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Adds missing client methods, VPC seeder badges, hospice strain UI, and uiHelp drift keys so server/web builds and all 849 Vitest tests pass.
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
package ai
|
||||
|
||||
import "testing"
|
||||
func TestInferCloudVenueClassGPU(t *testing.T){ if InferCloudVenueClass(CloudVenueReport{InstanceType:"g4dn.xlarge"})!=CloudVenueGPU{t.Fatal()} }
|
||||
|
||||
func TestInferCloudVenueClassGPU(t *testing.T) {
|
||||
if InferCloudVenueClass(CloudVenueReport{InstanceType: "g4dn.xlarge"}) != CloudVenueGPU {
|
||||
t.Fatal("expected gpu class")
|
||||
}
|
||||
}
|
||||
|
||||
func TestInferCloudVenueClassAirportSSID(t *testing.T) {
|
||||
if InferCloudVenueClass(CloudVenueReport{SSID: "JFK-Free-WiFi"}) != CloudVenueAirport {
|
||||
t.Fatal("expected airport class")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user