File: index.js

package info (click to toggle)
node-cross-fetch 4.0.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: javascript: 1,017; makefile: 122; sh: 50
file content (9 lines) | stat: -rw-r--r-- 227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
if (global.fetch) {
  const addFetchSuite = require('../api.spec')

  describe('Node:Fetch:Native', () => {
    addFetchSuite()
  })
} else {
  console.log('Skipping tests as this Node version does not have a native fetch.')
}