karma-runner / karma-runner/karma

Allow to set body width less than 320px

Open
#2,773 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I update karma from 0.13 to 1.7.0 and my unit tests have stopped work properly now. My unit tests contain next code:

```
beforeEach(() => {
document.body.style.width = '100px';
});
```
but for some reason in karma 1.x `body` width can not be less than 320px and because of this my unit tests are failing now.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.