UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

48 lines (31 loc) 1.11 kB
/* Siesta 5.6.1 Copyright(c) 2009-2022 Bryntum AB https://bryntum.com/contact https://bryntum.com/products/siesta/license */ Role('Siesta.Launcher.FileSystem.Base', { methods : { fileExists : function (fileName) { throw new Error("Abstract method call: `fileExists`") }, readFile : function (fileName) { throw new Error("Abstract method call: `readFile`") }, saveFile : function (fileName, content) { throw new Error("Abstract method call: `saveFile`") }, copyFile : function (source, dest) { throw new Error("Abstract method call: `copyFile`") }, copyTree : function (source, dest) { throw new Error("Abstract method call: `copyTree`") }, ensurePathExists : function (path) { throw new Error("Abstract method call: `ensurePathExists`") }, normalizePath : function (path) { return path } } })