def METHOD_NAME():
    """
    Given the js() tag if we return the assets that make up that bundle
    as defined in settings.MINIFY_BUNDLES.
    If we're not in debug mode, we just return a minified url
    """
    template = from_string('{{ js("common", debug=True) }}')
    rendered = template.render()
    expected = '\n'.join(
        [
            '<script src="%s"></script>' % (settings.STATIC_URL + j)
            for j in settings.MINIFY_BUNDLES['js']['common']
        ]
    )
    assert rendered == expected
    template = from_string('{{ js("common", debug=False) }}')
    rendered = template.render()
    expected = f'<script src="{settings.STATIC_URL}js/common-min.js"></script>'
    assert rendered == expected
    template = from_string('{{ js("common_bundle", debug=True) }}')
    rendered = template.render()
    assert rendered == (
        f'<script src="{settings.STATIC_URL}js/test.js"></script>\n'
        f'<script src="{settings.STATIC_URL}js/test2.js"></script>'
    )
    template = from_string('{{ js("common_bundle", debug=False) }}')
    rendered = template.render()
    assert rendered == '<script src="{}js/common_bundle-min.js"></script>'.format(
        settings.STATIC_URL,
    )