UNPKG

yaml-language-server-parser

Version:

This is a maintained fork of YAML-AST-PARSER specifically for the YAML Language server.

14 lines 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs = require("fs"); const path = require("path"); const YAML = require("../src"); const chai_1 = require("chai"); suite('YAML !binary tag', () => { test('should not produce error if !binary tag is present', function () { const failSafeSchema = fs.readFileSync(path.join('test', 'testFixtures', 'binary.yaml')); const document = YAML.load(failSafeSchema.toString()); chai_1.expect(document.errors).length(0, document.errors.join('\n')); }); }); //# sourceMappingURL=binaryTag.test.js.map