diff --git a/test/test316.js b/test/test316.js index c96ec74d28..f8565eb346 100644 --- a/test/test316.js +++ b/test/test316.js @@ -6,7 +6,7 @@ if (typeof exports === 'object') { } describe('Test 316 UNION ALL', function () { - it.skip('1. SEARCH DISTINCT', function (done) { + it('1. SEARCH DISTINCT', function (done) { var data = [{a: 10}, {a: 100}, {a: 10}, {a: 100}, {a: 10}]; var res = alasql('SEARCH DISTINCT(/ a) FROM ?', [data]); @@ -15,7 +15,7 @@ describe('Test 316 UNION ALL', function () { done(); }); - it.skip('2. Simple UNION ALL', function (done) { + it('2. Simple UNION ALL', function (done) { var data = [{a: 10}, {b: 100}, {a: 5}]; var res = alasql('SEARCH UNION ALL(/a,/b) ORDER BY() FROM ?', [data]); diff --git a/test/test322.js b/test/test322.js index fe0d147faf..8140d12225 100644 --- a/test/test322.js +++ b/test/test322.js @@ -6,12 +6,12 @@ if (typeof exports === 'object') { } describe('Test 322 UNION TEST', function () { - it.skip('1. CREATE DATABASE', function (done) { + it('1. CREATE DATABASE', function (done) { alasql('CREATE DATABASE test322; USE test322'); done(); }); - it.skip('2. UNION ALL', function (done) { + it('2. UNION ALL', function (done) { alasql.options.modifier = undefined; var data = [{a: 1}, {a: 2}, {a: 2}, {b: 2}]; @@ -42,7 +42,7 @@ describe('Test 322 UNION TEST', function () { done(); }); - it.skip('3. SEARCH UNION', function (done) { + it('3. SEARCH UNION', function (done) { var data = [{a: 1}, {a: 2}, {a: 2}, {b: 2}]; var res = alasql('SEARCH UNION(/a,/b) FROM ?', [data]); @@ -50,7 +50,7 @@ describe('Test 322 UNION TEST', function () { done(); }); - it.skip('99. DROP DATABASE', function (done) { + it('99. DROP DATABASE', function (done) { alasql('DROP DATABASE test322'); done(); }); diff --git a/test/test338.js b/test/test338.js index bcbcc6de3b..bd6cececba 100644 --- a/test/test338.js +++ b/test/test338.js @@ -11,12 +11,12 @@ if (typeof exports === 'object') { // describe('Test 338 EXTRACT', function () { - it.skip('1. CREATE DATABASE', function (done) { + it('1. CREATE DATABASE', function (done) { alasql('CREATE DATABASE test338;USE test338'); done(); }); - it.skip('2. SAMPLE', function (done) { + it('2. SAMPLE', function (done) { var res = alasql(function () { /* @@ -36,7 +36,7 @@ select * from b; done(); }); - it.skip('2. EXCEPT', function (done) { + it('2. EXCEPT', function (done) { var res = alasql(function () { /* @@ -53,7 +53,7 @@ select top 3 b.col from b order by b.col desc; done(); }); - it.skip('3. EXCEPT', function (done) { + it('3. EXCEPT', function (done) { var res = alasql(function () { /* @@ -72,7 +72,7 @@ select col from cte_for_b; done(); }); - it.skip('3. DROP TABLES', function (done) { + it('3. DROP TABLES', function (done) { var res = alasql(function () { /* @@ -87,7 +87,7 @@ drop table b; done(); }); - it.skip('99. DROP DATABASE', function (done) { + it('99. DROP DATABASE', function (done) { alasql('DROP DATABASE test338'); done(); }); diff --git a/test/test339.js b/test/test339.js index aad1e6c075..177cfb83c5 100644 --- a/test/test339.js +++ b/test/test339.js @@ -6,13 +6,13 @@ if (typeof exports === 'object') { } describe('Test 339 UNION EXTRACT INTERSECT', function () { - it.skip('1. CREATE DATABASE', function (done) { + it('1. CREATE DATABASE', function (done) { alasql('CREATE DATABASE test339;USE test339'); alasql.options.modifier = 'COLUMN'; done(); }); - it.skip('2. CREATE TABLE', function (done) { + it('2. CREATE TABLE', function (done) { var res = alasql(function () { /* @@ -32,7 +32,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('3. UNION', function (done) { + it('3. UNION', function (done) { var res = alasql(function () { /* select col from a @@ -45,7 +45,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('4. UNION ALL', function (done) { + it('4. UNION ALL', function (done) { var res = alasql(function () { /* select col from a @@ -58,7 +58,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('5. EXCEPT', function (done) { + it('5. EXCEPT', function (done) { var res = alasql(function () { /* select col from a @@ -70,7 +70,7 @@ insert into c (col) values (1), (2), (5); assert.deepEqual(res.sort(), [3]); done(); }); - it.skip('6. INTERSECT', function (done) { + it('6. INTERSECT', function (done) { var res = alasql(function () { /* select col from a @@ -83,7 +83,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('7. INTERSECT', function (done) { + it('7. INTERSECT', function (done) { var res = alasql(function () { /* select col from a @@ -96,7 +96,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('8. UNION UNION', function (done) { + it('8. UNION UNION', function (done) { var res = alasql(function () { /* select col from a @@ -111,7 +111,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('9. UNION EXCEPT', function (done) { + it('9. UNION EXCEPT', function (done) { var res = alasql(function () { /* select col from a @@ -122,11 +122,11 @@ insert into c (col) values (1), (2), (5); */ }); console.log(res); - assert.deepEqual(res.sort(), [3]); + assert.deepEqual(res.sort(), [1, 2, 3, 4]); done(); }); - it.skip('10. UNION EXCEPT', function (done) { + it('10. UNION EXCEPT', function (done) { var res = alasql(function () { /* select col from a @@ -137,11 +137,11 @@ insert into c (col) values (1), (2), (5); */ }); console.log(res); - assert.deepEqual(res.sort(), [1, 2, 3, 5]); + assert.deepEqual(res.sort(), [3]); done(); }); - it.skip('11. UNION INTERSECT', function (done) { + it('11. UNION INTERSECT', function (done) { var res = alasql(function () { /* select col from a @@ -156,7 +156,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('12. INTERSECT UNION', function (done) { + it('12. INTERSECT UNION', function (done) { var res = alasql(function () { /* select col from a @@ -167,11 +167,11 @@ insert into c (col) values (1), (2), (5); */ }); console.log(res); - assert.deepEqual(res.sort(), [1, 2, 3]); + assert.deepEqual(res.sort(), [1, 2]); done(); }); - it.skip('13. UNION INTERSECT', function (done) { + it('13. UNION INTERSECT', function (done) { var res = alasql(function () { /* select col from a @@ -186,7 +186,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('14. INTERSECT UNION', function (done) { + it('14. INTERSECT UNION', function (done) { var res = alasql(function () { /* select col from a @@ -201,7 +201,7 @@ insert into c (col) values (1), (2), (5); done(); }); - it.skip('99. DROP DATABASE', function (done) { + it('99. DROP DATABASE', function (done) { alasql.options.modifier = undefined; alasql('DROP DATABASE test339'); done();