test('invalid character', () => {
    const e = new InvalidCharacterDOMException();
    expect(e.code).toEqual(e.INVALID_CHARACTER_ERR);
  });