@environment-safe/file 0.1.0 → 0.1.2
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 +2 -2
- package/src/index.mjs +2 -2
- package/test/test.html +0 -1
- package/test/test.mjs +2 -1
- /package/src/{buffer.d.mts → buffer.d.ts} +0 -0
- /package/src/{filesystem.d.mts → filesystem.d.ts} +0 -0
- /package/src/{index.d.mts → index.d.ts} +0 -0
- /package/src/{path.d.mts → path.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@environment-safe/file",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"module": "src/index.mjs",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@environment-safe/chai": "^0.1.0",
|
|
77
77
|
"@environment-safe/commonjs-builder": "^0.0.3",
|
|
78
78
|
"@environment-safe/jsdoc-builder": "^0.0.2",
|
|
79
|
-
"@open-automaton/moka": "^0.4.
|
|
79
|
+
"@open-automaton/moka": "^0.4.1",
|
|
80
80
|
"babel-plugin-search-and-replace": "^1.1.1",
|
|
81
81
|
"babel-plugin-transform-import-meta": "^2.2.0",
|
|
82
82
|
"chai": "^4.3.7",
|
package/src/index.mjs
CHANGED
package/test/test.html
CHANGED
package/test/test.mjs
CHANGED
|
@@ -89,7 +89,8 @@ describe('@environment-safe/file', ()=>{
|
|
|
89
89
|
file.body('foo!');
|
|
90
90
|
const anticipatedDownload = download.expect();
|
|
91
91
|
await file.save();
|
|
92
|
-
const
|
|
92
|
+
const result = await anticipatedDownload;
|
|
93
|
+
const downloadedText = await result.text();
|
|
93
94
|
downloadedText.should.equal('foo!');
|
|
94
95
|
});
|
|
95
96
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|