Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit ec00ae9

Browse files
lukaszMycskrolikowskidamian
authored andcommitted
Chore: Test with define (#18)
* adding example map/reduce * add example with define * change package version * test with define * cleanup readme
1 parent 2c8d52a commit ec00ae9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Examples/Jest/2.0/exampleMapReduce.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
// Line below is required only becasue we are in the same repository as the library,
1414
// normally define is added to globally once you import our library and follow setup instructions
15-
const { define } = require('../../..')({});
15+
16+
const { define } = require('../../../index')({});
1617

1718
// eslint-disable-next-line import/no-amd
1819
define(['N/record', 'N/log', 'N/https', 'N/runtime', 'lodash'],

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
6969
## Roadmap 🛣
7070

7171
- ~~add examples for jest~~
72-
- cleanup mycs occurences
72+
- ~~cleanup mycs occurences~~
7373
- ~~add tests for the repo~~
7474
- automate release process
75-
- add example for other test frameworks
75+
- ~~add example for other test frameworks~~
7676

7777
If you want to contribute and don't know where to start, we label our issues with [`help wanted`](https://github.com/mycsHQ/ns-suitescript-mocks/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) or [`good first issue`](https://github.com/mycsHQ/ns-suitescript-mocks/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), feel free to browse the issues and ask for more information.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ns-suitescript-mocks",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "Collection of mocks that can be used to improve unit-tests for SuiteScript 2.0.",
55
"main": "index.js",
66
"author": "Damian Krolikowski",

0 commit comments

Comments
 (0)