-
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added the
transformAll
option (#596)
- Loading branch information
1 parent
4ca7f80
commit dde71f0
Showing
7 changed files
with
453 additions
and
35 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
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,21 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`cache should work with the "memory" cache: assets 1`] = ` | ||
Object { | ||
"file.txt": "new::directory/nested/deep-nested/deepnested.txt::directory/nested/nestedfile.txt::", | ||
} | ||
`; | ||
|
||
exports[`cache should work with the "memory" cache: assets 2`] = ` | ||
Object { | ||
"file.txt": "new::directory/nested/deep-nested/deepnested.txt::directory/nested/nestedfile.txt::", | ||
} | ||
`; | ||
|
||
exports[`cache should work with the "memory" cache: errors 1`] = `Array []`; | ||
|
||
exports[`cache should work with the "memory" cache: errors 2`] = `Array []`; | ||
|
||
exports[`cache should work with the "memory" cache: warnings 1`] = `Array []`; | ||
|
||
exports[`cache should work with the "memory" cache: warnings 2`] = `Array []`; |
Oops, something went wrong.
The documentation is wrong or at least confusing. The property asset.source does not exist.
This should include the structure of the object:
Below the example should be
const content = asset.data.toString();
as in the test cases.
@cap-Bernardito