Evidence

Slash line comment contains a URL lines 1–10
1// Copyright 2026 The LUCI Authors.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an …
Labels host IP for upload lines 45–67
45:12… ame: { values: ['mock-lab-mtv'] },
46 hostname: { values: ['host-001.mock-lab-mtv'] },
47 host_ip: { values: ['10.0.0.1'] },
48 dut_state: { values: ['ready'] },
49 fc_is_offline: { values: ['false'] },
⋯5 lines
55});
56
57describe('request_repair_pixel_config', () => {
58 describe('extractPixelLabName', () => {
59 it('extracts lab_name when present', () => {
60 const dev = createMockDevice();
61 expect(extractPixelLabName(dev)).toBe('mock-lab-mtv');
62 });
63
⋯4 lines
Calls an expect assertion matcher lines 147–158
⋯4 lines
151 describe('generatePixelRestorationTitle', () => {
152 it('throws error when devices array is empty', () => {
153 expect(() => generatePixelRestorationTitle([])).toThrow(
154 'No devices specified',
155 );
156 });
157
158 it('throws error when devices h …
Contains a hardcoded remote HTTP(S) URL lines 241–254
⋯6 lines
247 const link = getMobileHarnessLink(hostDev);
248 expect(link).toBe(
249 'https://mobileharness-fe.corp.google.com/labdetailview/my-host/10.1.1.1',
250 );
251 });
252
253 it('handles mobile harness link for devices without hostname/host_ip', () => {
254 const dev = create …
HTTP URL string literal lines 258–267
258:22… tMobileHarnessLink(dev);
259 expect(link).toContain(
260 'https://mobileharness-fe.corp.google.com/devicelistview',
261 );
262 expect(link).toContain('dev-no-host');
⋯5 lines

Showing the top 5 files — 5 more files (46 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.