Sha256: 3b72b01719f6578acbbfe952d7917cd3f3ebf91c0e99ae54a951994ff9d2ba6f

Contents?: true

Size: 367 Bytes

Versions: 28

Compression:

Stored size: 367 Bytes

Contents

const raw = require('../raw')

describe('raw', () => {
  test('test expected file types', () => {
    expect(raw.test.test('.html')).toBe(true)
  })

  test('exclude expected file types', () => {
    const types = [
      '.js',
      '.mjs',
      '.jsx',
      '.ts',
      '.tsx',
    ]
    types.forEach(type => expect(raw.exclude.test(type)).toBe(true))
  })
})

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
shakapacker-7.2.3 package/rules/__tests__/raw.js
shakapacker-7.3.0.beta.1 package/rules/__tests__/raw.js
shakapacker-7.2.2 package/rules/__tests__/raw.js
shakapacker-7.2.1 package/rules/__tests__/raw.js
shakapacker-7.2.0 package/rules/__tests__/raw.js
shakapacker-7.2.0.rc.0 package/rules/__tests__/raw.js
shakapacker-7.1.0 package/rules/__tests__/raw.js
shakapacker-7.0.3 package/rules/__tests__/raw.js
shakapacker-7.0.2 package/rules/__tests__/raw.js
shakapacker-7.0.1 package/rules/__tests__/raw.js
shakapacker-7.0.0 package/rules/__tests__/raw.js
shakapacker-7.0.0.rc.2 package/rules/__tests__/raw.js
shakapacker-7.0.0.rc.1 package/rules/__tests__/raw.js
shakapacker-7.0.0.rc.0 package/rules/__tests__/raw.js
shakapacker-6.6.0 package/rules/__tests__/raw.js
shakapacker-6.5.6 package/rules/__tests__/raw.js
shakapacker-6.5.5 package/rules/__tests__/raw.js
shakapacker-6.5.4 package/rules/__tests__/raw.js
shakapacker-6.5.3 package/rules/__tests__/raw.js
shakapacker-6.5.2 package/rules/__tests__/raw.js