Created
August 4, 2021 08:05
-
-
Save McTristan/9703cb2c920d74e8b431544d5192e9db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('remote server node', () => { | |
beforeEach((done: () => void) => { | |
helper.start(done); | |
}); | |
afterEach(async (done: () => void) => { | |
await helper.stop(done); | |
}); | |
test('should be loaded', async (done: () => void) => { | |
const flow: TestFlowsItem[] = [FakeRemoteServerDefinition]; | |
await helper.load(remoteServerInit, flow, {}); | |
const nodeToTest = helper.getNode<RemoteServerNode>('serverConfig'); | |
assert.that(nodeToTest.name).is.equalTo('testServer'); | |
done(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment