@stylable/core-test-kit
Advanced tools
Comparing version 3.8.4 to 3.9.0
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.shouldReportNoDiagnostics = exports.expectWarningsFromTransform = exports.expectWarnings = exports.findTestLocations = void 0; | ||
const chai_1 = require("chai"); | ||
const deindent_1 = __importDefault(require("deindent")); | ||
const core_1 = require("@stylable/core"); | ||
const chai_1 = require("chai"); | ||
const generate_test_util_1 = require("./generate-test-util"); | ||
const deindent = require('deindent'); | ||
function findTestLocations(css) { | ||
@@ -70,3 +73,3 @@ let line = 1; | ||
for (const path in config.files) { | ||
const source = findTestLocations(deindent(config.files[path].content).trim()); | ||
const source = findTestLocations(deindent_1.default(config.files[path].content).trim()); | ||
config.files[path].content = source.css; | ||
@@ -73,0 +76,0 @@ locations[path] = source; |
{ | ||
"name": "@stylable/core-test-kit", | ||
"version": "3.8.4", | ||
"version": "3.9.0", | ||
"description": "Stylable core test-kit", | ||
@@ -14,5 +14,5 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^3.8.4", | ||
"@stylable/core": "^3.9.0", | ||
"chai": "^4.2.0", | ||
"flat": "^5.0.0", | ||
"flat": "^5.0.2", | ||
"postcss": "^7.0.32" | ||
@@ -19,0 +19,0 @@ }, |
@@ -0,5 +1,5 @@ | ||
import { expect } from 'chai'; | ||
import deindent from 'deindent'; | ||
import { Diagnostics, process, safeParse, StylableMeta, StylableResults } from '@stylable/core'; | ||
import { expect } from 'chai'; | ||
import { Config, generateFromMock } from './generate-test-util'; | ||
const deindent = require('deindent'); | ||
@@ -6,0 +6,0 @@ export interface Diagnostic { |
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
51348
810
Updated@stylable/core@^3.9.0
Updatedflat@^5.0.2