@waves/js-test-env
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -135,3 +135,3 @@ /** | ||
*/ | ||
export declare function file(name?: string): Promise<string>; | ||
export declare function file(name?: string): string; | ||
/** | ||
@@ -138,0 +138,0 @@ * Shorthand for file() |
@@ -232,3 +232,3 @@ "use strict"; | ||
*/ | ||
async function file(name) { | ||
function file(name) { | ||
if (typeof global.env.file !== 'function') { | ||
@@ -235,0 +235,0 @@ throw new Error('File content API is not available. Please provide it to the console'); |
{ | ||
"name": "@waves/js-test-env", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20320