@ordergroove/offers 2.47.1-alpha-PR-1225-36.110 → 2.47.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.47.1](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.47.0...@ordergroove/offers@2.47.1) (2025-11-20)
7
+
8
+ **Note:** Version bump only for package @ordergroove/offers
9
+
10
+
11
+
12
+
13
+
6
14
  # [2.47.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.46.0...@ordergroove/offers@2.47.0) (2025-11-18)
7
15
 
8
16
 
@@ -9,6 +9,12 @@ module.exports = function (config) {
9
9
 
10
10
  // list of files / patterns to load in the browser
11
11
  files: [
12
+ {
13
+ pattern: 'src/test-setup.js',
14
+ type: 'js',
15
+ included: true,
16
+ served: true
17
+ },
12
18
  {
13
19
  pattern: 'dist/offers.js',
14
20
  type: 'js',
@@ -9,6 +9,12 @@ module.exports = function (config) {
9
9
 
10
10
  // list of files / patterns to load in the browser
11
11
  files: [
12
+ {
13
+ pattern: 'src/test-setup.js',
14
+ type: 'js',
15
+ included: true,
16
+ served: true
17
+ },
12
18
  {
13
19
  pattern: 'src/init-shopify-tests.js',
14
20
  type: 'js',
package/karma.conf.js CHANGED
@@ -9,6 +9,12 @@ module.exports = function (config) {
9
9
 
10
10
  // list of files / patterns to load in the browser
11
11
  files: [
12
+ {
13
+ pattern: 'src/test-setup.js',
14
+ type: 'js',
15
+ included: true,
16
+ served: true
17
+ },
12
18
  // make sure is the first on the list that inits the offers module
13
19
  {
14
20
  pattern: 'src/__tests__/offers.spec.js',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ordergroove/offers",
3
- "version": "2.47.1-alpha-PR-1225-36.110+e2a06b1c",
3
+ "version": "2.47.1",
4
4
  "description": "offer state component",
5
5
  "author": "Eugenio Lattanzio <eugenio63@gmail.com>",
6
6
  "homepage": "https://github.com/ordergroove/plush-toys#readme",
@@ -49,5 +49,5 @@
49
49
  "@ordergroove/offers-templates": "^0.10.0",
50
50
  "@types/lodash.memoize": "^4.1.9"
51
51
  },
52
- "gitHead": "e2a06b1c1e75e93a8207bff64f05569a7c55ca1f"
52
+ "gitHead": "c3d4ea90fb5a3d771f1460b2e9041f7f76b75611"
53
53
  }
@@ -0,0 +1,5 @@
1
+ beforeEach(() => {
2
+ // prevent elements persisting between tests
3
+ // Karma does not automatically clear the DOM after each test
4
+ document.body.innerHTML = '';
5
+ });