A library that provides mocks for Google Apps Script services for testing purposes in a Node.js environment.
It allows developers to write and run tests for their Google Apps Script code without needing to deploy it to the Google Apps Script environment.
This library is particularly useful for unit testing and integration testing of Google Apps Script projects.
- Mocking of Google Apps Script services (e.g., SpreadsheetApp, PropertiesService, etc.)
- Easy integration with popular testing frameworks (e.g., Jest, Mocha)
- Lightweight and fast
You can install the package directly from the GitHub repository using npm or yarn:
Note: This package is not published on npm registry. So, you need to install it directly from the GitHub repository. Sorry for the inconvenience.
npm i https://github.com/ilanlal/gasmocks --save-devor
yarn add https://github.com/ilanlal/gasmocks --devUnder construction...
Under construction...
MIT free License. See LICENSE for details.