This commit is contained in:
committed by
The Coding Aviator
parent
6416228c24
commit
4f22235cc6
@ -31,7 +31,7 @@ tests:
|
||||
- text: Your code should use the <code>axisLeft()</code> method with <code>yScale</code> passed as the argument.
|
||||
testString: assert(code.match(/\.axisLeft\(yScale\)/g), 'Your code should use the <code>axisLeft()</code> method with <code>yScale</code> passed as the argument.');
|
||||
- text: The y-axis <code>g</code> element should have a <code>transform</code> attribute to translate the axis by (60, 0).
|
||||
testString: assert($('g').eq(1).attr('transform').match(/translate\(60\s*?,\s*?0\)/g), 'The y-axis <code>g</code> element should have a <code>transform</code> attribute to translate the axis by (60, 0).');
|
||||
testString: assert($('g').eq(10).attr('transform').match(/translate\(60\s*?,\s*?0\)/g), 'The y-axis <code>g</code> element should have a <code>transform</code> attribute to translate the axis by (60, 0).');
|
||||
- text: Your code should call the <code>yAxis</code>.
|
||||
testString: assert(code.match(/\.call\(\s*yAxis\s*\)/g), 'Your code should call the <code>yAxis</code>.');
|
||||
|
||||
|
Reference in New Issue
Block a user