@brightspace-ui/testing 0.35.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@brightspace-ui/testing",
3
3
  "description": "Utilities for testing front-end components and applications",
4
4
  "type": "module",
5
- "version": "0.35.0",
5
+ "version": "1.0.0",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "eslint . --ext .js",
@@ -5,7 +5,7 @@ import { nextFrame } from '@open-wc/testing';
5
5
  const DEFAULT_FULLSCREEN = false,
6
6
  DEFAULT_LANG = 'en',
7
7
  DEFAULT_MATHJAX_RENDER_LATEX = false,
8
- DEFAULT_MEDIA = 'print',
8
+ DEFAULT_MEDIA = 'screen',
9
9
  DEFAULT_VIEWPORT_HEIGHT = 800,
10
10
  DEFAULT_VIEWPORT_WIDTH = 800;
11
11
 
@@ -34,7 +34,8 @@ export async function reset(opts = {}) {
34
34
  height: DEFAULT_VIEWPORT_HEIGHT,
35
35
  width: DEFAULT_VIEWPORT_WIDTH
36
36
  },
37
- fullscreen: DEFAULT_FULLSCREEN
37
+ fullscreen: DEFAULT_FULLSCREEN,
38
+ media: DEFAULT_MEDIA
38
39
  };
39
40
 
40
41
  opts = { ...defaultOpts, ...opts };