We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I updated the library to a newer version in my project (3.0.0) and I was getting some strange errors running tests with Karma and Jasmine:
Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? SyntaxError: Unexpected token ? Chrome 68.0.3419.0 (Windows 10): Executed 0 of 0 ERROR (0 secs / 0 secs) Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? SyntaxError: Unexpected token ?
After some research, I detected that the problem was related with the apollo-angular library, concretely with the following line:
options.useMutationLoading ?? this.useMutationLoading
referenced in:
apollo-angular/packages/apollo-angular/src/apollo.ts
Line 73 in dee1c98
I am using Chrome Headles v68.0.3419.0 to run the tests and the nullish coalescing operator is not recognized.
After some further research, I realized that the support of this operator is relatively new in Safari for iOS too (from iOS version 13.3).
https://caniuse.com/mdn-javascript_operators_nullish_coalescing
I suppose, that this line can be changed to not use ?? and then the browser compatibility won't be reduced.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I updated the library to a newer version in my project (3.0.0) and I was getting some strange errors running tests with Karma and Jasmine:
Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? SyntaxError: Unexpected token ? Chrome 68.0.3419.0 (Windows 10): Executed 0 of 0 ERROR (0 secs / 0 secs) Chrome 68.0.3419.0 (Windows 10) ERROR An error was thrown in afterAll Uncaught SyntaxError: Unexpected token ? SyntaxError: Unexpected token ?
After some research, I detected that the problem was related with the apollo-angular library, concretely with the following line:
options.useMutationLoading ?? this.useMutationLoading
referenced in:
apollo-angular/packages/apollo-angular/src/apollo.ts
Line 73 in dee1c98
I am using Chrome Headles v68.0.3419.0 to run the tests and the nullish coalescing operator is not recognized.
After some further research, I realized that the support of this operator is relatively new in Safari for iOS too (from iOS version 13.3).
https://caniuse.com/mdn-javascript_operators_nullish_coalescing
I suppose, that this line can be changed to not use ?? and then the browser compatibility won't be reduced.
Thanks in advance!
The text was updated successfully, but these errors were encountered: