Skip to content

Commit 28637cb

Browse files
committed
Merge branch 'main' into 2.0
2 parents 7c03aff + eaa3fb3 commit 28637cb

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Its value can be `"firefox"`, `"headlessFirefox"`, `"safari"`,
6868
## ES module support
6969

7070
If a source, spec, or helper file's name ends in `.mjs`, it will be loaded as
71-
an ES module rather than a regular script.
71+
an ES module rather than a regular script. Note that ES modules can only be
72+
loaded from other ES modules. So if your source files are ES modules, your
73+
spec files need to be ES modules too.
7274

7375
To allow spec files to import source files via relative paths, set the `specDir`
7476
config field to something that's high enough up to include both spec and source

release_notes/1.4.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# jasmine-browser-runner 1.4.0 Release Notes
2+
3+
This release adds support for ES module import maps. Thanks @wraiford for
4+
contributing this feature.
5+
6+
## Supported Environments
7+
8+
This release has been tested in the following environments.
9+
10+
| Environment | Supported versions |
11+
|-------------------|------------------------|
12+
| Node | 12.17+, 14, 16, 18, 20 |
13+
| Safari | 14-16 |
14+
| Chrome | 113 |
15+
| Firefox | 91, 102, 113 |
16+
| Edge | 113 |
17+
18+
19+
------
20+
21+
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_

0 commit comments

Comments
 (0)