webpro / reveal-md

reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file
MIT License
3.71k stars 416 forks source link

Local test failures #452

Closed nuke-web3 closed 10 months ago

nuke-web3 commented 1 year ago

Locally running yarn install; yarn test yields:

✖ should render custom css, after theme
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(actual.includes(style1Link))

    at /home/nuke/git/reveal-md/test/render.spec.js:43:3 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
✖ should render custom scripts
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(actual.includes('<script src="./_assets/custom.js"></script>'))

    at /home/nuke/git/reveal-md/test/render.spec.js:31:3 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
webpro commented 10 months ago

Can't reproduce this, so not sure what I should do. Tests run fine here.