"use strict";
var __webpack_exports__ = {};
const isVariable_js_namespaceObject = require("../../utils/isVariable.js");
it('should return false for a string with only one opening brace', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('{variable}}')).toBe(false);
});
it('should return false for a string with only one closing brace', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('{{variable}')).toBe(false);
});
it('should return false for a string with no braces', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('variable')).toBe(false);
});
it('should return true for a string with a valid variable', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('{{variable}}')).toBe(true);
});
it('should return true for a string with a valid variable "{{ $nRecord.cc-cc }}"', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('{{ $nRecord.cc-cc }}')).toBe(true);
});
it('should return true for a string with a valid variable "{{ $nRecord._name }}"', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)('{{ $nRecord._name }}')).toBe(true);
});
it('should return true for a string with a valid variable " {{ $nRecord.name }} "', ()=>{
    expect((0, isVariable_js_namespaceObject.isVariable)(' {{ $nRecord.name }} ')).toBe(true);
});
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
