Open ezekg opened 8 years ago
Is there a way to compile a string of Sass code from within Ruby (without actually creating any Sass files)? That might make those types of tests easier to manage.
Yep. Sass.compile
https://github.com/sass/sass/blob/stable/lib/sass.rb#L55
Also interesting: A test case that compiles some file and fails if some performance criteria is unmet.