Skip to content

Commit 9c96741

Browse files
committed
Fix issues with tests
When running the tests on the CI, I noticed that Some apps wouldn't run because the client file couldn't be found. Fix some apps requiring specific Node.js options.
1 parent 924fe87 commit 9c96741

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ gem "sinatra"
1010
gem "webrick"
1111
gem "puma"
1212
gem "rackup"
13+
gem "base64"

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ GEM
33
specs:
44
addressable (2.8.4)
55
public_suffix (>= 2.0.2, < 6.0)
6+
base64 (0.3.0)
67
capybara (3.39.2)
78
addressable
89
matrix
@@ -79,6 +80,7 @@ PLATFORMS
7980
x86_64-linux
8081

8182
DEPENDENCIES
83+
base64
8284
capybara
8385
multipart-post
8486
pry

frameworks/react/cra-17-typescript/src/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import reportWebVitals from './reportWebVitals';
88
import { store } from './store';
99
import { Provider } from 'react-redux';
1010

11-
import appsignal from "./appsignal.js"
12-
13-
const FallbackComponent = () => (
14-
<div>An error was thrown</div>
15-
);
11+
import appsignal from "./appsignal"
1612

1713
const WrappedApp = () => (
1814
<ErrorBoundary

frameworks/vue/3-class-component/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import { createApp } from "vue";
55
import App from "./App.vue";
66

77
const app = createApp(App);
8-
app.config.errorHandler = errorHandler(appsignal, app);
8+
app.config.errorHandler = errorHandler(appsignal, app) as unknown as typeof app.config.errorHandler;
99
app.mount("#app");

0 commit comments

Comments
 (0)