Sha256: 0c062b4560cfba06ad9310f669fc95ab3cf56bb49f1cd142ed887870e2cc4c80

Contents?: true

Size: 787 Bytes

Versions: 88

Compression:

Stored size: 787 Bytes

Contents

"use strict";

var _ava = _interopRequireDefault(require("ava"));

var _stripComments = _interopRequireDefault(require("../../src/util/stripComments"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _ava.default)("stripComments()", function (t) {
  t.deepEqual((0, _stripComments.default)("aaa/**/bbb"), "aaabbb");
  t.deepEqual((0, _stripComments.default)("aaa/*bbb"), "aaa");
  t.deepEqual((0, _stripComments.default)("aaa/*xxx*/bbb"), "aaabbb");
  t.deepEqual((0, _stripComments.default)("aaa/*/xxx/*/bbb"), "aaabbb");
  t.deepEqual((0, _stripComments.default)("aaa/*x*/bbb/**/"), "aaabbb");
  t.deepEqual((0, _stripComments.default)("/**/aaa/*x*/bbb/**/"), "aaabbb");
  t.deepEqual((0, _stripComments.default)("/**/"), "");
});

Version data entries

88 entries across 50 versions & 10 rubygems

Version Path
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-5.0.1 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3.5 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-5.0.0 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3.4 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3.3 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3.2 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3.1 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.3 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.2.3 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
tang-0.2.1 spec/tang_app/node_modules/postcss-modules-local-by-default/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
tang-0.2.1 spec/tang_app/node_modules/postcss-calc/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
tang-0.2.1 spec/tang_app/node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
tang-0.2.1 spec/tang_app/node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
trusty-cms-4.2.2 node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/postcss-calc/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/dist/__tests__/stripComments.js