Browse Source

modified _spec: I don't understand what these _spec things do

yakomaxa 2 years ago
parent
commit
feb8b94e30

+ 1 - 3
src/mol-script/transpilers/_spec/pymol.spec.ts

@@ -47,9 +47,7 @@ const general = {
 describe('pymol general', () => {
     general.supported.forEach(str => {
         it(str, () => {
-            const expr = parse('pymol', str);
-	    expect(expr).toThrow();
-            //          compile(expr);
+            parse('pymol', str);
         });
     });
     general.unsupported.forEach(str => {

+ 1 - 2
src/mol-script/transpilers/_spec/vmd.spec.ts

@@ -46,8 +46,7 @@ const general = {
 describe('vmd general', () => {
     general.supported.forEach(str => {
         it(str, () => {
-            const expr = parse('vmd', str);
-            expect(expr).toThrow();
+            parse('vmd', str);
         });
     });
     general.unsupported.forEach(str => {