@stylable/core-test-kit
Advanced tools
Comparing version 4.11.0 to 4.12.0
@@ -192,3 +192,6 @@ "use strict"; | ||
if (declarationCheck === `full`) { | ||
const actualDecl = testNode.nodes.map((x) => x.toString()).join(`; `); | ||
const actualDecl = testNode.nodes | ||
.filter((x) => x.type !== `comment`) | ||
.map((x) => x.toString()) | ||
.join(`; `); | ||
const expectedDecl = expectedDeclarations | ||
@@ -195,0 +198,0 @@ .map(([prop, value]) => `${prop}: ${value}`) |
{ | ||
"name": "@stylable/core-test-kit", | ||
"version": "4.11.0", | ||
"version": "4.12.0", | ||
"description": "Stylable core test-kit", | ||
@@ -10,4 +10,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@file-services/memory": "^5.7.1", | ||
"@stylable/core": "^4.11.0", | ||
"@file-services/memory": "^6.0.0", | ||
"@stylable/core": "^4.12.0", | ||
"chai": "^4.3.6", | ||
@@ -14,0 +14,0 @@ "flat": "^5.0.2", |
@@ -233,3 +233,6 @@ import { matchDiagnostic } from './diagnostics'; | ||
if (declarationCheck === `full`) { | ||
const actualDecl = testNode.nodes.map((x) => x.toString()).join(`; `); | ||
const actualDecl = testNode.nodes | ||
.filter((x) => x.type !== `comment`) | ||
.map((x) => x.toString()) | ||
.join(`; `); | ||
const expectedDecl = expectedDeclarations | ||
@@ -236,0 +239,0 @@ .map(([prop, value]) => `${prop}: ${value}`) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
148353
2368
+ Added@file-services/memory@6.0.0(transitive)
+ Added@file-services/path@6.0.0(transitive)
+ Added@file-services/types@6.0.0(transitive)
+ Added@file-services/utils@6.0.0(transitive)
- Removed@file-services/memory@5.7.1(transitive)
- Removed@file-services/path@5.7.1(transitive)
- Removed@file-services/types@5.7.1(transitive)
- Removed@file-services/utils@5.7.1(transitive)
Updated@file-services/memory@^6.0.0
Updated@stylable/core@^4.12.0