import * as __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__ from "../../utils/isVariable.mjs";
it('should return false for a string with only one opening brace', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('{variable}}')).toBe(false);
});
it('should return false for a string with only one closing brace', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('{{variable}')).toBe(false);
});
it('should return false for a string with no braces', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('variable')).toBe(false);
});
it('should return true for a string with a valid variable', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('{{variable}}')).toBe(true);
});
it('should return true for a string with a valid variable "{{ $nRecord.cc-cc }}"', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('{{ $nRecord.cc-cc }}')).toBe(true);
});
it('should return true for a string with a valid variable "{{ $nRecord._name }}"', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)('{{ $nRecord._name }}')).toBe(true);
});
it('should return true for a string with a valid variable " {{ $nRecord.name }} "', ()=>{
    expect((0, __WEBPACK_EXTERNAL_MODULE__utils_isVariable_mjs__.isVariable)(' {{ $nRecord.name }} ')).toBe(true);
});
