mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
fix tests
This commit is contained in:
parent
d1e6d41740
commit
4d52b03be1
@ -231,7 +231,7 @@ test('test shell', function (t) {
|
||||
test('test convertText', function (t) {
|
||||
var texts = [
|
||||
{input: '{}', expected: '()'},
|
||||
{input: "a {'b'}", expected: '"a ",(\'b\')'}
|
||||
{input: "a {'b'}", expected: '"a "+(\'b\')'}
|
||||
];
|
||||
t.plan(texts.length);
|
||||
texts.forEach(check);
|
||||
@ -244,7 +244,7 @@ test('test convertText', function (t) {
|
||||
test('test convertText errors', function (t) {
|
||||
var texts = [
|
||||
{input: '{}', expected: '()'},
|
||||
{input: "a {'b'}", expected: '"a ",(\'b\')'}
|
||||
{input: "a {'b'}", expected: '"a "+(\'b\')'}
|
||||
];
|
||||
t.plan(texts.length);
|
||||
texts.forEach(check);
|
||||
|
Loading…
x
Reference in New Issue
Block a user