import { init } from '../htmlnano';


describe('collapseAttributeWhitespace', () => {
    const options = {collapseAttributeWhitespace: {}};

    it('it should collapse whitespaces inside list-like attributes', () => {
        return init(
            '<a class=" foo  bar baz ">click</a>',
            '<a class="foo bar baz">click</a>',
            options
        );
    });

    it('should not collapse whitespaces inside non-list-like attributes', () => {
        return init(
            '<a id=" foo  bar " href=" baz  bar ">click</a>',
            '<a id=" foo  bar " href=" baz  bar ">click</a>',
            options
        );
    });
});

import { init } from '../htmlnano';


describe.only('collapseAttributeWhitespace', () => {
    const options = {collapseAttributeWhitespace: {}};

    it('it should collapse whitespaces inside list-like attributes', () => {
        return init(
            '<a class=" foo  bar baz ">click</a>',
            '<a class="foo bar baz">click</a>',
            options
        );
    });

    it('should not collapse whitespaces inside non-list-like attributes', () => {
        return init(
            '<a id=" foo  bar " href=" baz  bar ">click</a>',
            '<a id=" foo  bar " href=" baz  bar ">click</a>',
            options
        );
    });
});

--- 
+++ 
@@ -1,7 +1,7 @@
 import { init } from '../htmlnano';
 
 
-describe.only('collapseAttributeWhitespace', () => {
+describe('collapseAttributeWhitespace', () => {
     const options = {collapseAttributeWhitespace: {}};
 
     it('it should collapse whitespaces inside list-like attributes', () => {
Remove accidentally added .only in tests
