csstools/postcss-font-magician

Invalid tests

sms-system opened this issue · 1 comments

This was found in postcss-font-magician/test/test.js:

it('supports hosted fonts', function (done) {
    test(
      'a{font-family:"Source Sans Pro"}b{}',

      '@font-face{font-family:"Source Sans Pro";font-style:400;font-weight:normal;src:local(SourceSansPro-Regular),local(SourceSansPro-Regular),url(./test/fonts/pathFont.woff) format("woff")}' +
      'a{font-family:"Source Sans Pro"}b{}',

      {
        hosted: ['./test/fonts']
      },
      done
    );
  });

font-style:400;font-weight:normal - It isn't normal

Hello @sms-system
It was fixed in version 2.1.0