Skip to content
This repository has been archived by the owner on Mar 19, 2020. It is now read-only.

[TESTING PURPOSE] test bad internal script #235

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

IAmMorrow
Copy link
Contributor

added a global scope error on the internal process script (internal/index.js)

Should crash and display an error on the renderer window with every platform

IAmMorrow and others added 3 commits February 18, 2020 14:29
prettier

should be better now

removed terminator

fixes

fixed fixes

oops
@@ -10,6 +10,10 @@ import LoggerTransport from "~/logger/logger-transport-internal";

import { executeCommand, unsubscribeCommand, unsubscribeAllCommands } from "./commandHandler";

/* eslint-disable */
// $FlowFixMe
coucou_arnaud = 1;
Copy link
Contributor

@gre gre Feb 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IAmMorrow i'm not exactly sure if it's testing a bad case a boot (like a module failing to load). i think it would be better to do coucou_arnaud()

actually i'm still not sure to understand why it even crash anything (it's because we have some sort of script mode enabled?)

@gre gre added the HODL label Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants