Sha256: 6e47147f7b26ca85d23ab8b4d25e8bf93eb8a7562472affd1d54d11181018c32
Contents?: true
Size: 448 Bytes
Versions: 9
Compression:
Stored size: 448 Bytes
Contents
const {createMacro} = require('../') test('throws error if it is not transpiled', () => { const untranspiledMacro = createMacro(() => {}) expect(() => untranspiledMacro({source: 'untranspiled.macro'}), ).toThrowErrorMatchingSnapshot() }) test('attempting to create a macros with the configName of options throws an error', () => { expect(() => createMacro(() => {}, {configName: 'options'}), ).toThrowErrorMatchingSnapshot() })
Version data entries
9 entries across 9 versions & 3 rubygems