"use strict";
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
Object.defineProperty(exports, "__esModule", { value: true });
const chai_1 = require("chai");
const quick_open_helpers_js_1 = require("../helpers/quick_open-helpers.js");
const settings_helpers_js_1 = require("../helpers/settings-helpers.js");
const sources_helpers_js_1 = require("../helpers/sources-helpers.js");
describe('Quick Open menu with just-my-code setting', () => {
    setup({ devToolsSettings: { 'navigator-just-my-code': true } });
    it('does not list ignore-listed files', async ({ devToolsPage, inspectedPage }) => {
        await (0, settings_helpers_js_1.setIgnoreListPattern)('workers.js', devToolsPage);
        await inspectedPage.goToResource('sources/multi-workers-sourcemap.html');
        await (0, sources_helpers_js_1.openSourcesPanel)(devToolsPage);
        await (0, quick_open_helpers_js_1.typeIntoQuickOpen)('mult', undefined, devToolsPage);
        const list = await (0, quick_open_helpers_js_1.readQuickOpenResults)(devToolsPage);
        chai_1.assert.deepEqual(list, ['multi-workers.min.js', 'multi-workers-sourcemap.html']);
    });
});
//# sourceMappingURL=with_experiment.test.js.map