Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
andershessellund committed Aug 31, 2017
1 parent 1cd8bdd commit 090155e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/autocomplete2.spec.js
Expand Up @@ -2,6 +2,7 @@
import "regenerator-runtime/runtime";

import {go} from 'ts-csp';
import {assert } from 'chai';

import {dawaAutocomplete} from '../src/dawa-autocomplete2';

Expand Down Expand Up @@ -33,6 +34,7 @@ describe('Autocomplete2', () => {
div.appendChild(input);
const autocomplete = dawaAutocomplete(input, {});
autocomplete.destroy();
assert.strictEqual(div.innerHTML, '<input aria-autocomplete="list" autocomplete="off">');
});
});

Expand Down

0 comments on commit 090155e

Please sign in to comment.