|
1 | 1 | 'use strict';
|
| 2 | + |
2 | 3 | const Hogan = require('hogan.js');
|
3 | 4 | const util = require('util');
|
4 | 5 | const should = require('should');
|
5 | 6 |
|
6 | 7 | const lambdas = require('../lambdas.js');
|
7 | 8 |
|
8 |
| - |
9 | 9 | const reservedWords = new Set([
|
10 | 10 | 'lowercase',
|
11 | 11 | 'UPPERCASE',
|
@@ -52,7 +52,7 @@ function render(template) {
|
52 | 52 | }
|
53 | 53 |
|
54 | 54 | async function main(){
|
55 |
| - describe('check conersion to lowercase',function(){ |
| 55 | + describe('check conversion to lowercase',function(){ |
56 | 56 | it('should convert from lowerCaseVar', function() {
|
57 | 57 | should(
|
58 | 58 | render('{{#lowercase}}{{lowerCaseVar}}{{/lowercase}}')
|
@@ -90,7 +90,7 @@ async function main(){
|
90 | 90 | })
|
91 | 91 | });
|
92 | 92 |
|
93 |
| - describe('check conersion to UPPERCASE',function(){ |
| 93 | + describe('check conversion to UPPERCASE',function(){ |
94 | 94 | it('should convert from lowerCaseVar', function() {
|
95 | 95 | should(
|
96 | 96 | render('{{#uppercase}}{{lowerCaseVar}}{{/uppercase}}')
|
@@ -128,7 +128,7 @@ async function main(){
|
128 | 128 | })
|
129 | 129 | });
|
130 | 130 |
|
131 |
| - describe('check conersion to snake_case',function(){ |
| 131 | + describe('check conversion to snake_case',function(){ |
132 | 132 | it('should convert from lowerCaseVar', function() {
|
133 | 133 | should(
|
134 | 134 | render('{{#snakecase}}{{lowerCaseVar}}{{/snakecase}}')
|
@@ -166,7 +166,7 @@ async function main(){
|
166 | 166 | })
|
167 | 167 | });
|
168 | 168 |
|
169 |
| - describe('check conersion to PascalCase',function(){ |
| 169 | + describe('check conversion to PascalCase',function(){ |
170 | 170 | it('should convert from lowerCaseVar', function() {
|
171 | 171 | should(
|
172 | 172 | render('{{#pascalcase}}{{lowerCaseVar}}{{/pascalcase}}')
|
@@ -204,7 +204,7 @@ async function main(){
|
204 | 204 | })
|
205 | 205 | });
|
206 | 206 |
|
207 |
| - describe('check conersion to camelCase',function(){ |
| 207 | + describe('check conversion to camelCase',function(){ |
208 | 208 | it('should convert from lowerCaseVar', function() {
|
209 | 209 | should(
|
210 | 210 | render('{{#camelcase}}{{lowerCaseVar}}{{/camelcase}}')
|
@@ -242,7 +242,7 @@ async function main(){
|
242 | 242 | })
|
243 | 243 | });
|
244 | 244 |
|
245 |
| - describe('check conersion to kebab-case',function(){ |
| 245 | + describe('check conversion to kebab-case',function(){ |
246 | 246 | it('should convert from lowerCaseVar', function() {
|
247 | 247 | should(
|
248 | 248 | render('{{#kebabcase}}{{lowerCaseVar}}{{/kebabcase}}')
|
|
0 commit comments