MCPcopy Index your code
hub / github.com/YellowLabTools/YellowLabTools / wrap

Function wrap

test/core/mediaQueriesCheckerTest.js:6–23  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

4describe('mediaQueriesChecker', function() {
5
6 function wrap(message) {
7 return {
8 url: 'http://domain.com/css/stylesheet.css',
9 value: {
10 message: message,
11 position: {
12 start: {
13 line: 269,
14 column: 1
15 },
16 end: {
17 line: 269,
18 column: 182
19 }
20 }
21 }
22 };
23 }
24
25 it('should parse mediaQueryes correctly', function() {
26 mediaQueriesChecker.parseOneMediaQuery(wrap('@media screen and (max-width: 1024px) (1 rules)'))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected