-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add options and examples (#438)
- Loading branch information
1 parent
c7d5b4a
commit 03d3d25
Showing
36 changed files
with
2,114 additions
and
859 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
id: chrome-esm-examples | ||
title: Chrome-esm | ||
--- | ||
|
||
```javascript | ||
// The .js is needed since that's what the browser will request and according to spec | ||
import getA from '../src/a.js'; // eslint-disable-line import/extensions | ||
|
||
describe('A', () => { | ||
it('should return "a"', () => { | ||
expect(getA()).to.equal('a'); | ||
}); | ||
}); | ||
``` | ||
|
Oops, something went wrong.