'I want to reflect multiple content files on a particular site, but only one of them is reflected

"manifest_version": 3,
"content_scripts": [
        {
            "matches": [
                "https://www.test.com/*"
            ],
            "js": [
                "test-1.js"
            ]
        },
        {
            "matches": [
                "https://www.test.com/*"
            ],
            "js": [
                "test-2.js"
            ]
        }
    ],

For example, if I set up a manifest as shown above, the JS file for test-1 is not reflected, but only the JS file for test-2 is reflected. Is there any way to reflect both somehow? Thank you in advance for your cooperation.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source